mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make the Star toolbar button image static — don’t reflect what the command will do, since that’s opposite of state, and people get confused. Fix #451.
This commit is contained in:
@@ -521,9 +521,9 @@ private extension MainWindowController {
|
||||
|
||||
if let toolbarItem = item as? NSToolbarItem {
|
||||
toolbarItem.toolTip = commandName
|
||||
if let button = toolbarItem.view as? NSButton {
|
||||
button.image = NSImage(named: starring ? .star : .unstar)
|
||||
}
|
||||
// if let button = toolbarItem.view as? NSButton {
|
||||
// button.image = NSImage(named: starring ? .star : .unstar)
|
||||
// }
|
||||
}
|
||||
|
||||
if let menuItem = item as? NSMenuItem {
|
||||
|
||||
Reference in New Issue
Block a user