diff options
| author | nyamatongwe <nyamatongwe@gmail.com> | 2013-02-24 11:24:27 +1100 | 
|---|---|---|
| committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-02-24 11:24:27 +1100 | 
| commit | c065606d8489483b5fd84b6cc092eee2e3bd9aac (patch) | |
| tree | 2eb1d8b8d34d0af30ce27a2b4c10168d1f8335d6 | |
| parent | d8482166650ce7d6a2e2cabf44a73600fe8a39ef (diff) | |
| download | scintilla-mirror-c065606d8489483b5fd84b6cc092eee2e3bd9aac.tar.gz | |
Fix problem where abandoned paints may not cause redraw.
| -rw-r--r-- | cocoa/ScintillaView.mm | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 542c51679..ae1147a10 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -129,7 +129,9 @@ NSString *SCIUpdateUINotification = @"SCIUpdateUI";    CGContextRef context = (CGContextRef) [[NSGraphicsContext currentContext] graphicsPort];    if (!mOwner.backend->Draw(rect, context)) { -    [self display]; +    dispatch_async(dispatch_get_main_queue(), ^{ +      [self display]; +    });    }  } | 
