From cf2d147005911fb58c497e1e25b0bc4675fc61af Mon Sep 17 00:00:00 2001 From: lijingchi Date: Sun, 26 Mar 2023 14:04:56 +0800 Subject: [PATCH] fix(pointcloud): Prevent default event on ctrl + a --- .../src/components/pointCloudView/PointCloudListener.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lb-components/src/components/pointCloudView/PointCloudListener.tsx b/packages/lb-components/src/components/pointCloudView/PointCloudListener.tsx index 8d37880d9..d96bf73c5 100644 --- a/packages/lb-components/src/components/pointCloudView/PointCloudListener.tsx +++ b/packages/lb-components/src/components/pointCloudView/PointCloudListener.tsx @@ -182,6 +182,7 @@ const PointCloudListener: React.FC = ({ pasteSelectedBoxes(); break; case 'a': + e.preventDefault(); ptCtx.selectedAllBoxes(); break; case 'z': {