From 365542e73ee97316f4eaf1b3edc0cb6109c8a850 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Tue, 30 Jan 2018 12:40:53 +1100 Subject: Disable animated find indicator on macOS 10.12 as it causes drawing failures. --- cocoa/ScintillaCocoa.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cocoa') 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; } } -- cgit v1.2.3