Changed MacOS hotkey for GoToHome view. (#7631)

pull/21833/head
Ajeya Bhat 2022-01-26 14:22:55 +05:30 提交者 GitHub
父节点 2143845a3a
当前提交 e53427fce3
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 3 次插入2 次删除

查看文件

@ -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,
}, },

查看文件

@ -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"),