mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
This reverts commit ab825b3f11.
This commit is contained in:
parent
1ed2cbe10b
commit
37de2075ba
1 changed files with 4 additions and 3 deletions
|
|
@ -2338,9 +2338,10 @@ struct webview_priv
|
|||
size.height = height;
|
||||
[w->priv.window setMaxSize:size];
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[[w->priv.window standardWindowButton:NSWindowZoomButton] setEnabled: NO];
|
||||
});
|
||||
[w->priv.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenAuxiliary|NSWindowCollectionBehaviorFullScreenNone|NSWindowCollectionBehaviorFullScreenDisallowsTiling];
|
||||
|
||||
NSButton *button = [w->priv.window standardWindowButton:NSWindowZoomButton];
|
||||
[button setEnabled: NO];
|
||||
}
|
||||
|
||||
WEBVIEW_API void webview_set_fullscreen(struct webview *w, int fullscreen)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue