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]