Removed fill size window content to fix a lot of toolbar issues

This commit is contained in:
Michael Starke
2021-01-05 15:05:22 +01:00
parent d22750fefc
commit 15dce5f0b6
3 changed files with 12 additions and 14 deletions

View File

@@ -100,7 +100,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
[super windowDidLoad];
self.window.delegate = self.documentWindowDelegate;
self.window.styleMask |= NSWindowStyleMaskFullSizeContentView;
//self.window.styleMask |= NSWindowStyleMaskFullSizeContentView;
if (@available(macOS 11.0, *)) {
self.window.toolbarStyle = NSWindowToolbarStyleExpanded;
}