mirror of
https://github.com/electron/electron.git
synced 2026-02-03 11:45:13 -05:00
🎨
This commit is contained in:
@@ -207,7 +207,7 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||
|
||||
- (void)windowWillMiniaturize:(NSNotification*)notification {
|
||||
NSWindow* window = shell_->GetNativeWindow();
|
||||
// store the current level to be restored in windowDidDeminiaturize
|
||||
// store the current status window level to be restored in windowDidDeminiaturize
|
||||
level_ = NSStatusWindowLevel;
|
||||
[window setLevel:NSNormalWindowLevel];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user