Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Changed MacOS hotkey for GoToHome view. (#7631)
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-ya authored Jan 26, 2022
1 parent 2143845 commit e53427f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/KeyBindingsDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ const navigationBindings = (): KeyBinding<NavigationAction>[] => {
action: NavigationAction.GoToHome,
keyCombo: {
key: Key.H,
ctrlKey: true,
ctrlOrCmd: true,
altKey: !isMac,
shiftKey: isMac,
},
Expand Down
3 changes: 2 additions & 1 deletion src/accessibility/KeyboardShortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ export const KEYBOARD_SHORTCUTS: { [setting: string]: ISetting } = {
"KeyBinding.goToHomeView": {
default: {
ctrlOrCmdKey: true,
altKey: true,
altKey: !isMac,
shiftKey: isMac,
key: Key.H,
},
displayName: _td("Go to Home View"),
Expand Down

0 comments on commit e53427f

Please sign in to comment.