From 39850689faba9f9f936784df41a8b3251e41152f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 27 Feb 2016 14:12:32 +0200 Subject: [PATCH] Release also the selrect lock on mouse is up on shape. --- src/uxbox/ui/shapes/icon.cljs | 1 + src/uxbox/ui/shapes/text.cljs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/uxbox/ui/shapes/icon.cljs b/src/uxbox/ui/shapes/icon.cljs index f6978815e..6fcc0541c 100644 --- a/src/uxbox/ui/shapes/icon.cljs +++ b/src/uxbox/ui/shapes/icon.cljs @@ -63,6 +63,7 @@ :else (do (dom/stop-propagation event) + (uuc/release-action! :draw/selrect) (uuc/release-action! :shape/movement)))) (declare handlers) diff --git a/src/uxbox/ui/shapes/text.cljs b/src/uxbox/ui/shapes/text.cljs index b0b41e214..38783b8c0 100644 --- a/src/uxbox/ui/shapes/text.cljs +++ b/src/uxbox/ui/shapes/text.cljs @@ -56,6 +56,7 @@ :else (do (dom/stop-propagation event) + (uuc/release-action! :draw/selrect) (uuc/release-action! :shape/movement)))) (defn- text-component-did-mount