docs: added shape cycling shortcut in helper dialog

- Document Tab and Shift+Tab usage for shape cycling
This commit is contained in:
gowtham.selvaraj 2025-05-01 12:55:01 +05:30
parent 195a743874
commit 228fa6a523
2 changed files with 7 additions and 1 deletions

View file

@ -143,6 +143,11 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => {
caption={t("helpDialog.tools")} caption={t("helpDialog.tools")}
> >
<Shortcut label={t("toolBar.hand")} shortcuts={[KEYS.H]} /> <Shortcut label={t("toolBar.hand")} shortcuts={[KEYS.H]} />
<Shortcut
label={t("toolBar.shapeSwitch")}
shortcuts={["Tab", "Shift+Tab"]}
isOr={true}
/>
<Shortcut <Shortcut
label={t("toolBar.selection")} label={t("toolBar.selection")}
shortcuts={[KEYS.V, KEYS["1"]]} shortcuts={[KEYS.V, KEYS["1"]]}

View file

@ -298,7 +298,8 @@
"laser": "Laser pointer", "laser": "Laser pointer",
"hand": "Hand (panning tool)", "hand": "Hand (panning tool)",
"extraTools": "More tools", "extraTools": "More tools",
"mermaidToExcalidraw": "Mermaid to Excalidraw" "mermaidToExcalidraw": "Mermaid to Excalidraw",
"shapeSwitch": "Cycle through shapes"
}, },
"element": { "element": {
"rectangle": "Rectangle", "rectangle": "Rectangle",