diff options
| author | Neil Hodgson <nyamatongwe@gmail.com> | 2018-01-30 12:40:53 +1100 |
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@gmail.com> | 2018-01-30 12:40:53 +1100 |
| commit | 365542e73ee97316f4eaf1b3edc0cb6109c8a850 (patch) | |
| tree | 284adb766969bd2874467ace077443d2d558d3a8 /cocoa | |
| parent | 013ef0a8bbe7bd5ac8a751eaa32c085a0b4e0c7c (diff) | |
| download | scintilla-mirror-365542e73ee97316f4eaf1b3edc0cb6109c8a850.tar.gz | |
Disable animated find indicator on macOS 10.12 as it causes drawing failures.
Diffstat (limited to 'cocoa')
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index e4237fb1b..63eb9973f 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -803,11 +803,12 @@ sptr_t scintilla_send_message(void *sci, unsigned int iMessage, uptr_t wParam, s namespace { /** - * The animated find indicator fails with a "bogus layer size" message on macOS 10.13. + * The animated find indicator fails with a "bogus layer size" message on macOS 10.13 + * and causes drawing failures on macOS 10.12. */ bool SupportAnimatedFind() { - return floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_12_2; + return floor(NSAppKitVersionNumber) < NSAppKitVersionNumber10_12; } } |
