From 50e8de4552fa5d2ae939ceda1d2cbe7364b78583 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 9 Apr 2016 23:18:04 +0300 Subject: [PATCH] Send the select-shape event before acquire move action. --- src/uxbox/ui/shapes/icon.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uxbox/ui/shapes/icon.cljs b/src/uxbox/ui/shapes/icon.cljs index 48d97aadc..44e16f3de 100644 --- a/src/uxbox/ui/shapes/icon.cljs +++ b/src/uxbox/ui/shapes/icon.cljs @@ -28,8 +28,8 @@ (and (not selected?) (empty? selected)) (do (dom/stop-propagation event) - (uuc/acquire-action! "ui.shape.move") - (rs/emit! (dw/select-shape id))) + (rs/emit! (dw/select-shape id)) + (uuc/acquire-action! "ui.shape.move")) (and (not selected?) (not (empty? selected))) (do