🐛 store current level fix

This commit is contained in:
Shubham 2017-06-15 18:05:58 -04:00
parent 373decd07e
commit 12b90a2304

View file

@ -208,7 +208,7 @@ bool ScopedDisableResize::disable_resize_ = false;
- (void)windowWillMiniaturize:(NSNotification*)notification {
NSWindow* window = shell_->GetNativeWindow();
// store the current status window level to be restored in windowDidDeminiaturize
level_ = NSStatusWindowLevel;
level_ = [window level];
[window setLevel:NSNormalWindowLevel];
}