fix some toolbars and layout on macOS 11 sdk.
This commit is contained in:
9 files changed
+51
-29
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user