Enable full size content for better big sur experience

This commit is contained in:
Michael Starke
2020-11-24 13:37:03 +01:00
parent 381d4b1cac
commit 501501fce1
3 changed files with 28 additions and 4 deletions

View File

@@ -100,6 +100,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
[super windowDidLoad];
self.window.delegate = self.documentWindowDelegate;
self.window.styleMask |= NSWindowStyleMaskFullSizeContentView;
[self.window registerForDraggedTypes:@[NSURLPboardType]];
MPDocument *document = self.document;