mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-04 12:49:26 +00:00
[NSView setNeedsDisplayInRect:] must be run in the main thread as of 10.13
This commit is contained in:
parent
bcadf05add
commit
ea62737352
@ -690,7 +690,6 @@ dispatch_async(dispatch_get_main_queue(), ^(){
|
||||
rect.origin.x += _paddingLeft;
|
||||
rect.origin.y += _paddingTop;
|
||||
|
||||
/*
|
||||
dispatch_async(dispatch_get_main_queue(), ^(){
|
||||
|
||||
[self setNeedsDisplayInRect: rect];
|
||||
@ -698,9 +697,8 @@ dispatch_async(dispatch_get_main_queue(), ^(){
|
||||
//[self display];
|
||||
|
||||
});
|
||||
*/
|
||||
|
||||
[self setNeedsDisplayInRect: rect];
|
||||
//[self setNeedsDisplayInRect: rect];
|
||||
//[self display];
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user