mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[darwin]AlwaysOnTop: NSStatusWindowLevel -> NSFloatingWindowLevel
This commit is contained in:
parent
b757292211
commit
86b6e10620
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ void windowSetSize(void* nsWindow, int width, int height) {
|
|||
// Set NSWindow always on top
|
||||
void windowSetAlwaysOnTop(void* nsWindow, bool alwaysOnTop) {
|
||||
// Set window always on top on main thread
|
||||
[(WebviewWindow*)nsWindow setLevel:alwaysOnTop ? NSStatusWindowLevel : NSNormalWindowLevel];
|
||||
[(WebviewWindow*)nsWindow setLevel:alwaysOnTop ? NSFloatingWindowLevel : NSNormalWindowLevel];
|
||||
}
|
||||
|
||||
// Load URL in NSWindow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue