From a515bc2776c8f577b69ebe38a8b3225f768c5ceb Mon Sep 17 00:00:00 2001 From: Petko Georgiev Date: Fri, 2 Apr 2021 16:07:39 +1100 Subject: Bug [#2238]. Fix drawing in revealed area after enlarging window. --- cocoa/ScintillaView.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cocoa') diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index e5b3a2e7b..c0b2ee950 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -266,6 +266,8 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) { super.frame = frame; mOwner.backend->Resize(); + + [super prepareContentInRect: [self visibleRect]]; } //-------------------------------------------------------------------------------------------------- -- cgit v1.2.3