Skip to content

Commit 8f248f6

Browse files
committed
cleanup
1 parent 52952ba commit 8f248f6

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

GUI/MyToolbar.swift

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extension NSImage {
1111

1212
static func sf(_ name: String, size: CGFloat = 28, description: String? = nil) -> NSImage {
1313

14-
let config = NSImage.SymbolConfiguration(pointSize: size, weight: .thin, scale: .small)
14+
let config = NSImage.SymbolConfiguration(pointSize: size, weight: .light, scale: .small)
1515
let img = NSImage(systemSymbolName: name, accessibilityDescription: description)!
1616
return img.withSymbolConfiguration(config)!
1717
}
@@ -75,11 +75,17 @@ class MyToolbar: NSToolbar, NSToolbarDelegate {
7575

7676
func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
7777

78-
return [ .inspectors, .flexibleSpace,
79-
.snapshots, .flexibleSpace,
80-
.port1, .port2, .flexibleSpace,
81-
.keyboard, .flexibleSpace,
82-
.settings, .flexibleSpace,
78+
return [ .inspectors,
79+
.flexibleSpace,
80+
.snapshots,
81+
.flexibleSpace,
82+
.port1,
83+
.port2,
84+
.flexibleSpace,
85+
.keyboard,
86+
.flexibleSpace,
87+
.settings,
88+
.flexibleSpace,
8389
.controls ]
8490
}
8591

0 commit comments

Comments
 (0)