From 3e56e83ece6b40c5acde557e02cf6a90ffa26fab Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 24 Jan 2023 20:02:08 +0400 Subject: [PATCH] Disable user selection on the rectangles --- src/components/FrameRenderer/FrameRenderer.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/FrameRenderer/FrameRenderer.css b/src/components/FrameRenderer/FrameRenderer.css index e9777bef2..6220bdb77 100644 --- a/src/components/FrameRenderer/FrameRenderer.css +++ b/src/components/FrameRenderer/FrameRenderer.css @@ -58,6 +58,10 @@ svg .clickable-group.done[data-group-id^='check:'] rect { stroke: gray; } +.clickable-group rect { + user-select: none; +} + /************************************ Aspect ratio implementation *************************************/