Add prevent binding keyboard shortcut to shortcuts dialog (#2010)

Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
Michal Srb 2020-08-09 04:46:20 -07:00 committed by GitHub
parent 8bbeb32e87
commit 85d000ccda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -224,6 +224,10 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
isOr={false}
/>
<Shortcut label={t("toolBar.lock")} shortcuts={["Q"]} />
<Shortcut
label={t("shortcutsDialog.preventBinding")}
shortcuts={[getShortcutKey("CtrlOrCmd")]}
/>
</ShortcutIsland>
<ShortcutIsland caption={t("shortcutsDialog.view")}>
<Shortcut

View File

@ -177,7 +177,8 @@
"github": "Found an issue? Submit",
"textNewLine": "Add new line (text)",
"textFinish": "Finish editing (text)",
"zoomToFit": "Zoom to fit all elements"
"zoomToFit": "Zoom to fit all elements",
"preventBinding": "Prevent arrow binding"
},
"encrypted": {
"tooltip": "Your drawings are end-to-end encrypted so Excalidraw's servers will never see them."