From 0af575240f85b65e2a80eac8baddc38cd45eaf31 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Mon, 27 Feb 2023 17:54:43 +1100 Subject: Cache client rectangle when view moved or sized. That allows access to it from secondary threads which otherwise shows warnings. --- cocoa/ScintillaCocoa.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cocoa/ScintillaCocoa.h') diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index 4c1f10a97..402eeff20 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -103,6 +103,8 @@ private: bool isFirstResponder; bool isActive; + PRectangle rectangleClient; + bool enteredSetScrollingSize; bool GetPasteboardData(NSPasteboard *board, SelectionText *selectedText); -- cgit v1.2.3