diff --git a/src/actions/actionMenu.tsx b/src/actions/actionMenu.tsx index 0458778c..a46f2205 100644 --- a/src/actions/actionMenu.tsx +++ b/src/actions/actionMenu.tsx @@ -77,7 +77,7 @@ export const actionShortcuts = register({ }; }, PanelComponent: ({ updateData }) => ( - + ), keyTest: (event) => event.key === KEYS.QUESTION_MARK, }); diff --git a/src/components/ShortcutsDialog.tsx b/src/components/ShortcutsDialog.tsx index d8cc6ab1..1ca13cb4 100644 --- a/src/components/ShortcutsDialog.tsx +++ b/src/components/ShortcutsDialog.tsx @@ -165,12 +165,22 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => { diff --git a/src/locales/en.json b/src/locales/en.json index 352c1c7d..24c8ea9c 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -71,8 +71,7 @@ "redo": "Redo", "roomDialog": "Start live collaboration", "createNewRoom": "Create new room", - "toggleFullScreen": "Toggle full screen", - "showShortcuts": "Show shortcuts" + "toggleFullScreen": "Toggle full screen" }, "alerts": { "clearReset": "This will clear the whole canvas. Are you sure?", @@ -135,6 +134,7 @@ "title": "Keyboard shortcuts", "shapes": "Shapes", "or": "or", + "click": "click", "curvedArrow": "Curved arrow", "curvedLine": "Curved line", "editor": "Editor",