mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
MacOS: Ensure that Bluetooth MIDI dialogue remains visible when we have always on top windows
This commit uses the same logic for the Bluetooth pairing window that we use for JUCE dialogues and raises its level to NSFloatingWindowLevel when there are always on top windows.
This commit is contained in:
parent
e05320998c
commit
0943197e23
1 changed files with 3 additions and 0 deletions
|
|
@ -111,6 +111,9 @@ private:
|
|||
}
|
||||
|
||||
[getController (self) showWindow: nil];
|
||||
|
||||
if (WindowUtils::areThereAnyAlwaysOnTopWindows())
|
||||
[getController (self).window setLevel: NSFloatingWindowLevel];
|
||||
}
|
||||
|
||||
static void receivedWindowWillClose (id self, SEL, NSNotification*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue