Changed MacOS hotkey for GoToHome view. (#7631)

This commit is contained in:
Ajeya Bhat 2022-01-26 14:22:55 +05:30 committed by GitHub
parent 2143845a3a
commit e53427fce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -373,7 +373,7 @@ const navigationBindings = (): KeyBinding<NavigationAction>[] => {
action: NavigationAction.GoToHome, action: NavigationAction.GoToHome,
keyCombo: { keyCombo: {
key: Key.H, key: Key.H,
ctrlKey: true, ctrlOrCmd: true,
altKey: !isMac, altKey: !isMac,
shiftKey: isMac, shiftKey: isMac,
}, },

View file

@ -341,7 +341,8 @@ export const KEYBOARD_SHORTCUTS: { [setting: string]: ISetting } = {
"KeyBinding.goToHomeView": { "KeyBinding.goToHomeView": {
default: { default: {
ctrlOrCmdKey: true, ctrlOrCmdKey: true,
altKey: true, altKey: !isMac,
shiftKey: isMac,
key: Key.H, key: Key.H,
}, },
displayName: _td("Go to Home View"), displayName: _td("Go to Home View"),