🐛 store current level fix
This commit is contained in:
parent
373decd07e
commit
12b90a2304
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||||
- (void)windowWillMiniaturize:(NSNotification*)notification {
|
- (void)windowWillMiniaturize:(NSNotification*)notification {
|
||||||
NSWindow* window = shell_->GetNativeWindow();
|
NSWindow* window = shell_->GetNativeWindow();
|
||||||
// store the current status window level to be restored in windowDidDeminiaturize
|
// store the current status window level to be restored in windowDidDeminiaturize
|
||||||
level_ = NSStatusWindowLevel;
|
level_ = [window level];
|
||||||
[window setLevel:NSNormalWindowLevel];
|
[window setLevel:NSNormalWindowLevel];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue