From 81f788278aa0f6927771564fdf9e236456785e4d Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 14 Feb 2017 21:53:52 +0100 Subject: [PATCH] Remove unused code. --- frontend/src/uxbox/main/ui/shapes/selection.cljs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/frontend/src/uxbox/main/ui/shapes/selection.cljs b/frontend/src/uxbox/main/ui/shapes/selection.cljs index 912548de15..f0168c64c9 100644 --- a/frontend/src/uxbox/main/ui/shapes/selection.cljs +++ b/frontend/src/uxbox/main/ui/shapes/selection.cljs @@ -245,16 +245,6 @@ :width width :height height}) -(defn- render-path - [points] - {:pre [(pos? (count points))]} - (let [start (first points) - close? false - init (str "M " (:x start) " " (:y start)) - path (reduce #(str %1 " L" (:x %2) " " (:y %2)) init points)] - (cond-> path - close? (str " Z")))) - (mx/defc controls {:mixins [mx/static]} [{:keys [x1 y1 width height] :as shape} zoom on-mouse-down]