From e65fc59e6cc5b7ef22ba92d13870d8e143149b88 Mon Sep 17 00:00:00 2001 From: Chinh Nguyen Date: Wed, 1 Dec 2021 08:11:56 +1100 Subject: Bug [#2292] Better fix to draw margin means drawHashMarksAndLabelsInRect called. --- cocoa/ScintillaView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index eb18ad09e..db716c232 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -203,7 +203,7 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) { } - (void) drawRect: (NSRect) rect { - owner.backend->PaintMargin(rect); + [super drawRect:rect]; } @end -- cgit v1.2.3