aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
diff options
context:
space:
mode:
authorPetko Georgiev <unknown>2021-04-02 16:07:39 +1100
committerPetko Georgiev <unknown>2021-04-02 16:07:39 +1100
commita515bc2776c8f577b69ebe38a8b3225f768c5ceb (patch)
tree03a129c9845dd2cccd080547295783ee3d5d6770 /cocoa
parentae0c56c9c2762f386f001478d764af005a9fa15f (diff)
downloadscintilla-mirror-a515bc2776c8f577b69ebe38a8b3225f768c5ceb.tar.gz
Bug [#2238]. Fix drawing in revealed area after enlarging window.
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/ScintillaView.mm2
1 files changed, 2 insertions, 0 deletions
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]];
}
//--------------------------------------------------------------------------------------------------