fix: support shift+P for freedraw (#4550)

* fix: support shift+P for freedraw

* newline

* show shift+p first
pull/4554/head
Aakansha Doshi 3 years ago committed by GitHub
parent d5a6014076
commit c03845bac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -154,7 +154,7 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => {
<Shortcut label={t("toolBar.line")} shortcuts={["P", "6"]} />
<Shortcut
label={t("toolBar.freedraw")}
shortcuts={["X", "7"]}
shortcuts={["Shift + P", "X", "7"]}
/>
<Shortcut label={t("toolBar.text")} shortcuts={["T", "8"]} />
<Shortcut label={t("toolBar.image")} shortcuts={["9"]} />

@ -80,7 +80,7 @@ export const SHAPES = [
</svg>
),
value: "freedraw",
key: KEYS.X,
key: [KEYS.X, KEYS.P.toUpperCase()],
},
{
icon: (

Loading…
Cancel
Save