fix: The shortcut for displaying the keyboard shortcut help dialog has been changed to Ctrl + /

This commit is contained in:
Aman Harwara
2024-01-28 22:32:32 +05:30
parent 865ebe58d3
commit 5a49005e79
4 changed files with 8 additions and 3 deletions

View File

@@ -48,6 +48,7 @@ const KeyboardShortcutsModal = ({ keyboardService }: { keyboardService: Keyboard
useEffect(() => {
return keyboardService.addCommandHandler({
command: TOGGLE_KEYBOARD_SHORTCUTS_MODAL,
category: 'General',
description: 'Toggle keyboard shortcuts help',
onKeyDown: () => {
setItems(createGroupedItems(keyboardService.getRegisteredKeyboardShorcutHelpItems()))