From 3835e0ea74816e87f03499af1aa34af0ac7620db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Mon, 30 Nov 2020 14:29:19 +0100 Subject: [PATCH] :bug: Select and deselect shapes correctly inside an artboard --- frontend/src/app/main/ui/workspace/effects.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/effects.cljs b/frontend/src/app/main/ui/workspace/effects.cljs index 4cf4346748..ab94350a56 100644 --- a/frontend/src/app/main/ui/workspace/effects.cljs +++ b/frontend/src/app/main/ui/workspace/effects.cljs @@ -60,8 +60,11 @@ nil (= type :frame) - (do (dom/stop-propagation event) + (if selected? + (do + (dom/stop-propagation event) (st/emit! (dw/start-move-selected))) + (st/emit! (dw/deselect-all))) :else (do