From 97daf44f5c23889034b1978d4d6002e84a5bf070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Sat, 16 Apr 2016 12:55:07 +0200 Subject: [PATCH] Move shape while other shape is selected (#17) --- src/uxbox/ui/shapes/icon.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/uxbox/ui/shapes/icon.cljs b/src/uxbox/ui/shapes/icon.cljs index 654a9a90b..d2e396288 100644 --- a/src/uxbox/ui/shapes/icon.cljs +++ b/src/uxbox/ui/shapes/icon.cljs @@ -37,8 +37,10 @@ (dom/stop-propagation event) (if (kbd/shift? event) (rs/emit! (uds/select-shape id)) - (rs/emit! (uds/deselect-all) - (uds/select-shape id)))) + (do + (rs/emit! (uds/deselect-all) + (uds/select-shape id)) + (uuc/acquire-action! "ui.shape.move")))) :else (do