From 187fbe335f9da3fc309adfea5c922c21fe752679 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 24 Feb 2013 17:52:35 +1100 Subject: Less intense version of previous change: just mark the view for drawing instead of drawing. --- cocoa/ScintillaView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index ae1147a10..4fde8c8f9 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -130,7 +130,7 @@ NSString *SCIUpdateUINotification = @"SCIUpdateUI"; if (!mOwner.backend->Draw(rect, context)) { dispatch_async(dispatch_get_main_queue(), ^{ - [self display]; + [self setNeedsDisplay:YES]; }); } } -- cgit v1.2.3