From c03845bac38432da2a4cf7b2bc94e8c8ff0400c3 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Sat, 8 Jan 2022 18:01:22 +0530 Subject: [PATCH] fix: support shift+P for freedraw (#4550) * fix: support shift+P for freedraw * newline * show shift+p first --- src/components/HelpDialog.tsx | 2 +- src/shapes.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/HelpDialog.tsx b/src/components/HelpDialog.tsx index 68678b777b..5803fbe0ca 100644 --- a/src/components/HelpDialog.tsx +++ b/src/components/HelpDialog.tsx @@ -154,7 +154,7 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => { diff --git a/src/shapes.tsx b/src/shapes.tsx index c4b98a851f..c54ef20e12 100644 --- a/src/shapes.tsx +++ b/src/shapes.tsx @@ -80,7 +80,7 @@ export const SHAPES = [ ), value: "freedraw", - key: KEYS.X, + key: [KEYS.X, KEYS.P.toUpperCase()], }, { icon: (