mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
Allow frameless window to be miniturisable (#1705)
This commit is contained in:
parent
b6dee773c5
commit
d86daaa211
1 changed files with 3 additions and 1 deletions
|
|
@ -146,8 +146,10 @@
|
|||
if (!hideTitleBar) {
|
||||
styleMask |= NSWindowStyleMaskTitled;
|
||||
}
|
||||
styleMask |= NSWindowStyleMaskClosable | NSWindowStyleMaskMiniaturizable;
|
||||
styleMask |= NSWindowStyleMaskClosable;
|
||||
}
|
||||
|
||||
styleMask |= NSWindowStyleMaskMiniaturizable;
|
||||
|
||||
if( fullSizeContent || frameless || titlebarAppearsTransparent ) {
|
||||
styleMask |= NSWindowStyleMaskFullSizeContentView;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue