Fix command key missing in keyboard shortcuts tab (#21102)

pull/21116/head
Šimon Brandner 2022-02-16 16:29:52 +01:00 committed by GitHub
parent 135f37eeaf
commit c275ef6b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

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