File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments