macOS revert fullscreen changes (#3304)

* macOS remove NSWindow subclass

as discussed in #3297
This commit is contained in:
SweetPPro
2022-06-16 19:55:33 +02:00
committed by GitHub
parent 037f1bf403
commit c6b49e99d8
12 changed files with 443 additions and 409 deletions

View File

@@ -202,8 +202,8 @@
self.window.restorationClass = [self class];
//make window an auxillary view in fullscreen
[self.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenAuxiliary];
//disable fullscreen support
[self.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenNone];
NSToolbar* toolbar = [[NSToolbar alloc] initWithIdentifier:@"Preferences Toolbar"];
toolbar.delegate = self;