|
|
@ -284,6 +284,14 @@ |
|
|
- (void)windowDidBecomeKey:(NSNotification *_Nonnull)notification |
|
|
- (void)windowDidBecomeKey:(NSNotification *_Nonnull)notification |
|
|
{ |
|
|
{ |
|
|
_parent->BringToFront(); |
|
|
_parent->BringToFront(); |
|
|
|
|
|
|
|
|
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{ |
|
|
|
|
|
@try { |
|
|
|
|
|
[self invalidateShadow]; |
|
|
|
|
|
} |
|
|
|
|
|
@finally{ |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
- (void)windowDidMiniaturize:(NSNotification *_Nonnull)notification |
|
|
- (void)windowDidMiniaturize:(NSNotification *_Nonnull)notification |
|
|
|