mirror of
https://github.com/MacPass/MacPass.git
synced 2026-01-30 23:58:19 +00:00
Use expanded toolbar to accomodate for more room in the title bar.
This commit is contained in:
@@ -101,6 +101,9 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
|
||||
|
||||
self.window.delegate = self.documentWindowDelegate;
|
||||
self.window.styleMask |= NSWindowStyleMaskFullSizeContentView;
|
||||
if (@available(macOS 11.0, *)) {
|
||||
self.window.toolbarStyle = NSWindowToolbarStyleExpanded;
|
||||
}
|
||||
[self.window registerForDraggedTypes:@[NSURLPboardType]];
|
||||
|
||||
MPDocument *document = self.document;
|
||||
|
||||
Reference in New Issue
Block a user