Fix command key missing in keyboard shortcuts tab (#21102)
This commit is contained in:
parent
135f37eeaf
commit
c275ef6b49
1 changed files with 3 additions and 3 deletions
|
@ -297,21 +297,21 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||||
if (isMac) {
|
if (isMac) {
|
||||||
registerShortcut("KeyBinding.openUserSettings", CategoryName.NAVIGATION, {
|
registerShortcut("KeyBinding.openUserSettings", CategoryName.NAVIGATION, {
|
||||||
default: {
|
default: {
|
||||||
commandKey: true,
|
metaKey: true,
|
||||||
key: Key.COMMA,
|
key: Key.COMMA,
|
||||||
},
|
},
|
||||||
displayName: _td("Open user settings"),
|
displayName: _td("Open user settings"),
|
||||||
});
|
});
|
||||||
registerShortcut("KeyBinding.previousVisitedRoomOrCommunity", CategoryName.NAVIGATION, {
|
registerShortcut("KeyBinding.previousVisitedRoomOrCommunity", CategoryName.NAVIGATION, {
|
||||||
default: {
|
default: {
|
||||||
commandKey: true,
|
metaKey: true,
|
||||||
key: Key.SQUARE_BRACKET_LEFT,
|
key: Key.SQUARE_BRACKET_LEFT,
|
||||||
},
|
},
|
||||||
displayName: _td("Previous recently visited room or community"),
|
displayName: _td("Previous recently visited room or community"),
|
||||||
});
|
});
|
||||||
registerShortcut("KeyBinding.nextVisitedRoomOrCommunity", CategoryName.NAVIGATION, {
|
registerShortcut("KeyBinding.nextVisitedRoomOrCommunity", CategoryName.NAVIGATION, {
|
||||||
default: {
|
default: {
|
||||||
commandKey: true,
|
metaKey: true,
|
||||||
key: Key.SQUARE_BRACKET_RIGHT,
|
key: Key.SQUARE_BRACKET_RIGHT,
|
||||||
},
|
},
|
||||||
displayName: _td("Next recently visited room or community"),
|
displayName: _td("Next recently visited room or community"),
|
||||||
|
|
Loading…
Reference in a new issue