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

@@ -69,8 +69,8 @@ tr_session* fLib = NULL;
self.window.title = NSLocalizedString(@"Statistics", "Stats window -> title");
//make window an auxillary view in fullscreen
[self.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenAuxiliary];
//disable fullscreen support
[self.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenNone];
//set label text
self.fUploadedLabelField.stringValue = [NSLocalizedString(@"Uploaded", "Stats window -> label") stringByAppendingString:@":"];