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
@@ -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