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 <florianduros@element.io>
This commit is contained in:
@@ -521,8 +521,7 @@ export const KEYBOARD_SHORTCUTS: IKeyboardShortcuts = {
|
|||||||
[KeyBindingAction.GoToHome]: {
|
[KeyBindingAction.GoToHome]: {
|
||||||
default: {
|
default: {
|
||||||
ctrlKey: true,
|
ctrlKey: true,
|
||||||
altKey: !IS_MAC,
|
altKey: true,
|
||||||
shiftKey: IS_MAC,
|
|
||||||
key: Key.H,
|
key: Key.H,
|
||||||
},
|
},
|
||||||
displayName: _td("keyboard|go_home_view"),
|
displayName: _td("keyboard|go_home_view"),
|
||||||
@@ -585,7 +584,7 @@ export const KEYBOARD_SHORTCUTS: IKeyboardShortcuts = {
|
|||||||
},
|
},
|
||||||
[KeyBindingAction.ToggleHiddenEventVisibility]: {
|
[KeyBindingAction.ToggleHiddenEventVisibility]: {
|
||||||
default: {
|
default: {
|
||||||
ctrlOrCmdKey: true,
|
ctrlKey: true,
|
||||||
shiftKey: true,
|
shiftKey: true,
|
||||||
key: Key.H,
|
key: Key.H,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user