Alt drag to shortcuts for duplicate (#1389)

This commit is contained in:
Lipis 2020-04-12 00:04:53 +03:00 committed by GitHub
parent 2adae4132b
commit 2b9ae38946
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -290,7 +290,10 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
/>
<Shortcut
label={t("labels.duplicateSelection")}
shortcuts={[getShortcutKey("CtrlOrCmd+D")]}
shortcuts={[
getShortcutKey("CtrlOrCmd+D"),
getShortcutKey(`Alt+${t("shortcutsDialog.drag")}`),
]}
/>
<Shortcut
label={t("buttons.undo")}

View File

@ -141,6 +141,7 @@
"shapes": "Shapes",
"or": "or",
"click": "click",
"drag": "drag",
"curvedArrow": "Curved arrow",
"curvedLine": "Curved line",
"editor": "Editor",