Skip to content

Commit e44ca88

Browse files
Change ToggleHiddenEventVisibility & GoToHome KeyBindingActions (#29374)
The current keyboard shortcuts for GoToHome and ToggleHiddenEventVisibility are: | | other | macOS | |----------------------------- |-------------- |-------------- | | GoToHome | Ctrl–Alt–H | Ctrl–Shift–H | | ToggleHiddenEventVisibility | Ctrl–Shift–H | Cmd–Shift–H | This removes both distinctions for macOS in order ToggleHiddenEventVisibility not to conflict with... 1. the built-in Safari keyboard shortcut for opening the Home page (Cmd–Shift–H) 2. the KeyBindingAction for GoToHome. Co-authored-by: Florian Duros <[email protected]>
1 parent cb7d77d commit e44ca88

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/accessibility/KeyboardShortcuts.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,7 @@ export const KEYBOARD_SHORTCUTS: IKeyboardShortcuts = {
521521
[KeyBindingAction.GoToHome]: {
522522
default: {
523523
ctrlKey: true,
524-
altKey: !IS_MAC,
525-
shiftKey: IS_MAC,
524+
altKey: true,
526525
key: Key.H,
527526
},
528527
displayName: _td("keyboard|go_home_view"),
@@ -585,7 +584,7 @@ export const KEYBOARD_SHORTCUTS: IKeyboardShortcuts = {
585584
},
586585
[KeyBindingAction.ToggleHiddenEventVisibility]: {
587586
default: {
588-
ctrlOrCmdKey: true,
587+
ctrlKey: true,
589588
shiftKey: true,
590589
key: Key.H,
591590
},

0 commit comments

Comments
 (0)