Update toolbars icons and default orders

This commit is contained in:
Damiano Galassi committed 2025-09-18 15:28:13 +02:00
1 parent f8388175d8
commit a50ba3910e
4 files changed
+15 -7

No files matched your search

+5 -1
View File
@@ -49,7 +49,11 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
toolbar.delegate = toolbarDelegate
toolbar.allowsUserCustomization = true
toolbar.autosavesConfiguration = true
toolbar.displayMode = .iconAndLabel
if #available(macOS 26, *) {
toolbar.displayMode = .iconAndLabel
} else {
toolbar.displayMode = .iconOnly
}
self.window?.toolbar = toolbar
window.contentViewController = splitViewController