Removed custom toolbar sizing code since we seem not to need it anymore

This commit is contained in:
Michael Starke
2020-07-08 15:38:02 +02:00
parent 1404f9e336
commit c5694293a5
2 changed files with 1 additions and 21 deletions

View File

@@ -115,6 +115,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
self.toolbar = [[NSToolbar alloc] initWithIdentifier:@"MainWindowToolbar"];
self.toolbar.autosavesConfiguration = YES;
self.toolbar.allowsUserCustomization = YES;
/* center search in toolbar */
if (@available(macOS 10.14, *)) {
self.toolbar.centeredItemIdentifier = MPToolbarItemIdentifierSearch;
} else {