diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2013-02-24 17:52:35 +1100 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-02-24 17:52:35 +1100 |
commit | cbb0864906055e017282289ce008b6a78282e324 (patch) | |
tree | d03b35a1aa21bc38932a052d46f2440b2e808360 | |
parent | c065606d8489483b5fd84b6cc092eee2e3bd9aac (diff) | |
download | scintilla-mirror-cbb0864906055e017282289ce008b6a78282e324.tar.gz |
Less intense version of previous change: just mark the view for drawing instead of drawing.
-rw-r--r-- | cocoa/ScintillaView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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]; }); } } |