Fix separate panels transparent background.
Regression was introduced with migration to Qt 5.12.8.
This commit is contained in:
parent
8e568a4f15
commit
83fada4675
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ void InitOnTopPanel(not_null<QWidget*> panel) {
|
|||
Assert([platformWindow isKindOfClass:[NSPanel class]]);
|
||||
|
||||
auto platformPanel = static_cast<NSPanel*>(platformWindow);
|
||||
[platformPanel setBackgroundColor:[NSColor clearColor]];
|
||||
[platformPanel setLevel:NSModalPanelWindowLevel];
|
||||
[platformPanel setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces|NSWindowCollectionBehaviorStationary|NSWindowCollectionBehaviorFullScreenAuxiliary|NSWindowCollectionBehaviorIgnoresCycle];
|
||||
[platformPanel setHidesOnDeactivate:NO];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue