parent
b0737b6e31
commit
93a9af7b3a
9 changed files with 214 additions and 81 deletions
|
@ -152,7 +152,7 @@ const navigationBindings = (): KeyBinding[] => {
|
|||
const bindings = getBindingsByCategory(CategoryName.NAVIGATION);
|
||||
|
||||
bindings.push({
|
||||
action: "KeyBinding.closeDialogOrContextMenu" as KeyBindingAction,
|
||||
action: KeyBindingAction.CloseDialogOrContextMenu,
|
||||
keyCombo: {
|
||||
key: Key.ESCAPE,
|
||||
},
|
||||
|
@ -161,6 +161,10 @@ const navigationBindings = (): KeyBinding[] => {
|
|||
return bindings;
|
||||
};
|
||||
|
||||
const callBindings = (): KeyBinding[] => {
|
||||
return getBindingsByCategory(CategoryName.CALLS);
|
||||
};
|
||||
|
||||
const labsBindings = (): KeyBinding[] => {
|
||||
if (!SdkConfig.get()['showLabsSettings']) return [];
|
||||
|
||||
|
@ -173,5 +177,6 @@ export const defaultBindingsProvider: IKeyBindingsProvider = {
|
|||
getRoomListBindings: roomListBindings,
|
||||
getRoomBindings: roomBindings,
|
||||
getNavigationBindings: navigationBindings,
|
||||
getCallBindings: callBindings,
|
||||
getLabsBindings: labsBindings,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue