From ba32c9d2b03f694d29f15495dec49682328a8fb0 Mon Sep 17 00:00:00 2001 From: laoluo Date: Sat, 8 Oct 2022 15:51:35 +0800 Subject: [PATCH] feat(scribble-tool): Temporarily hide the hotKey of Y --- .../src/components/customResizeHook/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/lb-components/src/components/customResizeHook/index.tsx b/packages/lb-components/src/components/customResizeHook/index.tsx index d9eca6416..f339c9843 100644 --- a/packages/lb-components/src/components/customResizeHook/index.tsx +++ b/packages/lb-components/src/components/customResizeHook/index.tsx @@ -70,9 +70,10 @@ export const ViewportProviderComponent = (props: any) => { dispatch(CopyBackWordResult()); } - if (e.keyCode === EKeyCode.Y) { - dispatch(UpdateValid()); - } + // Temporarily hide. Because there is something wrong with i18n. + // if (e.keyCode === EKeyCode.Y) { + // dispatch(UpdateValid()); + // } } /**