add Cmd+, shortcut for settings dialog on Mac

This commit is contained in:
Drew Weymouth
2023-08-02 15:58:30 -06:00
parent cf09912474
commit 1c27a267b9
3 changed files with 14 additions and 5 deletions
@@ -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?
)