fix some toolbars and layout on macOS 11 sdk.

This commit is contained in:
Damiano Galassi committed 2020-07-01 19:49:40 +02:00
1 parent 96cd24ec71
commit ce4b084324
9 files changed
+51 -29

No files matched your search

+6
View File
@@ -37,6 +37,12 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
fatalError("`window` is expected to be non nil by this time.")
}
#if __MAC_10_16
if #available(macOS 10.16, *) {
window.toolbarStyle = .expanded
}
#endif
sendToQueue.image = NSImage(named: NSImage.shareTemplateName);
window.contentViewController = splitViewController