add Cmd+, shortcut for settings dialog on Mac
This commit is contained in:
@@ -21,4 +21,5 @@ var (
|
||||
{Modifier: fyne.KeyModifierSuper, KeyName: fyne.KeyRight},
|
||||
{Modifier: fyne.KeyModifierSuper, KeyName: fyne.KeyRightBracket},
|
||||
}
|
||||
SettingsShortcut = &desktop.CustomShortcut{Modifier: fyne.KeyModifierSuper, KeyName: fyne.KeyComma}
|
||||
)
|
||||
@@ -19,4 +19,5 @@ var (
|
||||
ForwardShortcuts = []desktop.CustomShortcut{
|
||||
{Modifier: fyne.KeyModifierAlt, KeyName: fyne.KeyRight},
|
||||
}
|
||||
SettingsShortcut *desktop.CustomShortcut = nil // TODO: is there a platform standard for Win/Linux?
|
||||
)
|
||||
Reference in New Issue
Block a user