mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-19 19:09:38 +00:00
Autotype now displays overlay windows to show match or miss
This commit is contained in:
@@ -52,6 +52,16 @@
|
||||
}
|
||||
|
||||
- (void)displayOverlayImage:(NSImage *)imageOrNil label:(NSString *)labelOrNil atView:(NSView *)view {
|
||||
if(![NSThread currentThread].isMainThread) { NSAssert(NO, @"Must be called on main thread"); }
|
||||
/*
|
||||
if(![NSThread currentThread].isMainThread) {
|
||||
__weak MPOverlayWindowController *welf = self;
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[welf displayOverlayImage:imageOrNil label:labelOrNil atView:view];
|
||||
});
|
||||
return;
|
||||
}
|
||||
*/
|
||||
if(self.isAnimating) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user