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 | 187fbe335f9da3fc309adfea5c922c21fe752679 (patch) | |
| tree | d56c36887e6ce25836eee6c3e50ea7bfd7647092 | |
| parent | d6127303073968627802b08f97e52194bcf5d9bf (diff) | |
| download | scintilla-mirror-187fbe335f9da3fc309adfea5c922c21fe752679.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]; }); } } |
