mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
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:
parent
cb7d77de45
commit
e44ca88a7e
@ -521,8 +521,7 @@ export const KEYBOARD_SHORTCUTS: IKeyboardShortcuts = {
|
||||
[KeyBindingAction.GoToHome]: {
|
||||
default: {
|
||||
ctrlKey: true,
|
||||
altKey: !IS_MAC,
|
||||
shiftKey: IS_MAC,
|
||||
altKey: true,
|
||||
key: Key.H,
|
||||
},
|
||||
displayName: _td("keyboard|go_home_view"),
|
||||
@ -585,7 +584,7 @@ export const KEYBOARD_SHORTCUTS: IKeyboardShortcuts = {
|
||||
},
|
||||
[KeyBindingAction.ToggleHiddenEventVisibility]: {
|
||||
default: {
|
||||
ctrlOrCmdKey: true,
|
||||
ctrlKey: true,
|
||||
shiftKey: true,
|
||||
key: Key.H,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user