PrefWindow // Unify toolbar icons, conforming what PrefUI uses.

This commit is contained in:
ShikiSuen 2022-08-10 15:15:47 +08:00
parent 16becb4147
commit c6c18b9196
9 changed files with 4 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -375,7 +375,7 @@ extension ctlPrefWindow: NSToolbarDelegate {
systemSymbolName: "wrench.and.screwdriver.fill", accessibilityDescription: "General Preferences"
)
} else {
item.image = NSImage(named: NSImage.homeTemplateName)
item.image = NSImage(named: "PrefToolbar-General")
}
item.action = #selector(showGeneralView(_:))
@ -387,7 +387,7 @@ extension ctlPrefWindow: NSToolbarDelegate {
systemSymbolName: "person.fill.questionmark", accessibilityDescription: "Experiences Preferences"
)
} else {
item.image = NSImage(named: NSImage.flowViewTemplateName)
item.image = NSImage(named: "PrefToolbar-Experiences")
}
item.action = #selector(showExperienceView(_:))
@ -399,7 +399,7 @@ extension ctlPrefWindow: NSToolbarDelegate {
systemSymbolName: "character.book.closed.fill", accessibilityDescription: "Dictionary Preferences"
)
} else {
item.image = NSImage(named: NSImage.bookmarksTemplateName)
item.image = NSImage(named: "PrefToolbar-Dictionary")
}
item.action = #selector(showDictionaryView(_:))
@ -409,7 +409,7 @@ extension ctlPrefWindow: NSToolbarDelegate {
if #available(macOS 11.0, *) {
item.image = NSImage(systemSymbolName: "keyboard.macwindow", accessibilityDescription: "Keyboard Preferences")
} else {
item.image = NSImage(named: NSImage.slideshowTemplateName)
item.image = NSImage(named: "PrefToolbar-Keyboard")
}
item.action = #selector(showKeyboardView(_:))