Remove unused code.

This commit is contained in:
Andrey Antukh 2017-02-14 21:53:52 +01:00
parent 276ad62f24
commit 81f788278a
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -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]