From 0a547aed4cd737896a8113b9ebd96c99862757fe Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 23 Aug 2016 16:27:37 +0300 Subject: [PATCH] Remove unused code. --- src/uxbox/main/ui/shapes/selection.cljs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/uxbox/main/ui/shapes/selection.cljs b/src/uxbox/main/ui/shapes/selection.cljs index 5dd7232ee1..688ad62c9a 100644 --- a/src/uxbox/main/ui/shapes/selection.cljs +++ b/src/uxbox/main/ui/shapes/selection.cljs @@ -165,15 +165,11 @@ (dom/stop-propagation event) (rlocks/acquire! :shape/resize) (start-path-edition id index))] - (let [ - ;;tmx (geom/transformation-matrix shape) - ;;points (map #(gpt/transform % tmx) points) - ] - [:g.controls - (for [[index {:keys [x y]}] (map-indexed vector points)] - [:circle {:cx x :cy y :r 3 - :on-mouse-down (partial on-mouse-down index) - :fill "red"}])]))) + [:g.controls + (for [[index {:keys [x y]}] (map-indexed vector points)] + [:circle {:cx x :cy y :r 3 + :on-mouse-down (partial on-mouse-down index) + :fill "red"}])])) (mx/defc selection-handlers {:mixins [mx/reactive mx/static]}