From b35d671125153f42ab8ee71f281a9aec4760daf4 Mon Sep 17 00:00:00 2001 From: laoluo Date: Thu, 22 Sep 2022 15:01:22 +0800 Subject: [PATCH] feat(pointcloud): Ctrl+A is conficted with A --- .../lb-components/src/components/customResizeHook/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lb-components/src/components/customResizeHook/index.tsx b/packages/lb-components/src/components/customResizeHook/index.tsx index 80703324c..bbf58b017 100644 --- a/packages/lb-components/src/components/customResizeHook/index.tsx +++ b/packages/lb-components/src/components/customResizeHook/index.tsx @@ -43,7 +43,7 @@ export const ViewportProviderComponent = (props: any) => { return; } - if (!e.shiftKey || !e.ctrlKey) { + if (!e.shiftKey && !e.ctrlKey) { if (e.keyCode === EKeyCode.A) { if (skipBeforePageTurning) { skipBeforePageTurning(() => dispatch(PageBackward()));