Hint for shortcut for moving the visible area (#1784)

This commit is contained in:
Kostas Bariotis 2020-06-19 21:28:13 +01:00 committed by GitHub
parent bda8415714
commit a357d00bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -255,6 +255,14 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
label={t("labels.selectAll")}
shortcuts={[getShortcutKey("CtrlOrCmd+A")]}
/>
<Shortcut
label={t("labels.moveCanvas")}
shortcuts={[
getShortcutKey(`Space+${t("shortcutsDialog.drag")}`),
getShortcutKey(`Wheel+${t("shortcutsDialog.drag")}`),
]}
isOr={true}
/>
<Shortcut
label={t("labels.copy")}
shortcuts={[getShortcutKey("CtrlOrCmd+C")]}

View File

@ -2,6 +2,7 @@
"labels": {
"paste": "Paste",
"selectAll": "Select all",
"moveCanvas": "Move canvas",
"copy": "Copy",
"copyAsPng": "Copy to clipboard as PNG",
"copyAsSvg": "Copy to clipboard as SVG",