Skip to content

Commit

Permalink
Remove open settings dialog shortcut
Browse files Browse the repository at this point in the history
There is ambiguity as to which keys to use and there needs to be a way of disabling certain keys when dialogs are open
  • Loading branch information
microbit-grace committed Dec 3, 2024
1 parent 456dc6a commit 088a428
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/components/ActionBar/ActionBarItemsRight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ const ItemsRight = ({ menuItems, toolbarItems }: ItemsRightProps) => {
}
}
}, [tourTriggerName]);
useHotkeys(
keyboardShortcuts.settings,
settingsDisclosure.onOpen,
globalShortcutConfig
);
return (
<>
<LanguageDialog
Expand Down
1 change: 0 additions & 1 deletion src/keyboard-shortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export const keyboardShortcuts = {
// This is scoped by keyboard focus.
addAction: ["ctrl+shift+enter", "meta+shift+enter"],
saveSession: ["ctrl+shift+s", "meta+shift+s"],
settings: ["ctrl+shift+p", "meta+shift+p"],
nextAction: ["down"],
previousAction: ["up"],
renameAction: ["F2"],
Expand Down

0 comments on commit 088a428

Please sign in to comment.