mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-10 01:50:36 +08:00
Merge branch 'develop' of https://github.com/wailsapp/wails into develop
This commit is contained in:
commit
0c1dbd75f5
@ -2338,10 +2338,9 @@ struct webview_priv
|
||||
size.height = height;
|
||||
[w->priv.window setMaxSize:size];
|
||||
|
||||
[w->priv.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenAuxiliary|NSWindowCollectionBehaviorFullScreenNone|NSWindowCollectionBehaviorFullScreenDisallowsTiling];
|
||||
|
||||
NSButton *button = [w->priv.window standardWindowButton:NSWindowZoomButton];
|
||||
[button setEnabled: NO];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[[w->priv.window standardWindowButton:NSWindowZoomButton] setEnabled: NO];
|
||||
});
|
||||
}
|
||||
|
||||
WEBVIEW_API void webview_set_fullscreen(struct webview *w, int fullscreen)
|
||||
|
Loading…
Reference in New Issue
Block a user