Move on-top panel one level below on macOS.
This commit is contained in:
parent
7224c6a191
commit
730816ef52
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ void InitOnTopPanel(not_null<QWidget*> panel) {
|
|||
Assert([platformWindow isKindOfClass:[NSPanel class]]);
|
||||
|
||||
auto platformPanel = static_cast<NSPanel*>(platformWindow);
|
||||
[platformPanel setLevel:NSPopUpMenuWindowLevel];
|
||||
[platformPanel setLevel:NSModalPanelWindowLevel];
|
||||
[platformPanel setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces|NSWindowCollectionBehaviorStationary|NSWindowCollectionBehaviorFullScreenAuxiliary|NSWindowCollectionBehaviorIgnoresCycle];
|
||||
[platformPanel setHidesOnDeactivate:NO];
|
||||
//[platformPanel setFloatingPanel:YES];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue