fix some toolbars and layout on macOS 11 sdk.
This commit is contained in:
9 files changed
+51
-29
No files matched your search
@@ -59,6 +59,12 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
||||
window?.tabbingMode = .disallowed
|
||||
}
|
||||
|
||||
#if __MAC_10_16
|
||||
if #available(macOS 10.16, *) {
|
||||
window?.toolbarStyle = .unifiedCompact
|
||||
}
|
||||
#endif
|
||||
|
||||
table.registerForDraggedTypes([NSPasteboard.PasteboardType.backwardsCompatibleFileURL, tablePasteboardType])
|
||||
progressBar.isHidden = true
|
||||
|
||||
|
||||
Reference in new issue
Block a user