From 825eb4f8a2f50bf9b62c8459cdc2f2402df30bf7 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 20 Apr 2016 20:32:41 +0300 Subject: [PATCH] Use inner-rect for calculate icon selection handlers. --- src/uxbox/ui/shapes/icon.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxbox/ui/shapes/icon.cljs b/src/uxbox/ui/shapes/icon.cljs index f775b841cd..6b46882a8e 100644 --- a/src/uxbox/ui/shapes/icon.cljs +++ b/src/uxbox/ui/shapes/icon.cljs @@ -87,7 +87,7 @@ (on-mouse-up [vid event] (dom/stop-propagation event) (uuc/release-action! "ui.shape.resize"))] - (let [{:keys [x y width height]} (geom/outer-rect shape)] + (let [{:keys [x y width height]} (geom/inner-rect shape)] (html [:g.controls [:rect {:x x :y y :width width :height height :stroke-dasharray "5,5"