fix: split "Edit selected shape" shortcut (#6457)
Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
6164b5273c
commit
b0b23353cf
@ -165,11 +165,12 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => {
|
|||||||
shortcuts={[KEYS.E, KEYS["0"]]}
|
shortcuts={[KEYS.E, KEYS["0"]]}
|
||||||
/>
|
/>
|
||||||
<Shortcut
|
<Shortcut
|
||||||
label={t("helpDialog.editSelectedShape")}
|
label={t("helpDialog.editLineArrowPoints")}
|
||||||
shortcuts={[
|
shortcuts={[getShortcutKey("CtrlOrCmd+Enter")]}
|
||||||
getShortcutKey("CtrlOrCmd+Enter"),
|
/>
|
||||||
getShortcutKey(`CtrlOrCmd + ${t("helpDialog.doubleClick")}`),
|
<Shortcut
|
||||||
]}
|
label={t("helpDialog.editText")}
|
||||||
|
shortcuts={[getShortcutKey("Enter")]}
|
||||||
/>
|
/>
|
||||||
<Shortcut
|
<Shortcut
|
||||||
label={t("helpDialog.textNewLine")}
|
label={t("helpDialog.textNewLine")}
|
||||||
|
@ -319,7 +319,8 @@
|
|||||||
"doubleClick": "double-click",
|
"doubleClick": "double-click",
|
||||||
"drag": "drag",
|
"drag": "drag",
|
||||||
"editor": "Editor",
|
"editor": "Editor",
|
||||||
"editSelectedShape": "Edit selected shape (text/arrow/line)",
|
"editLineArrowPoints": "Edit line/arrow points",
|
||||||
|
"editText": "Edit text / add label",
|
||||||
"github": "Found an issue? Submit",
|
"github": "Found an issue? Submit",
|
||||||
"howto": "Follow our guides",
|
"howto": "Follow our guides",
|
||||||
"or": "or",
|
"or": "or",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user