mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 23:21:39 +02:00
Remove unused code.
This commit is contained in:
parent
276ad62f24
commit
81f788278a
1 changed files with 0 additions and 10 deletions
|
@ -245,16 +245,6 @@
|
||||||
:width width
|
:width width
|
||||||
:height height})
|
: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
|
(mx/defc controls
|
||||||
{:mixins [mx/static]}
|
{:mixins [mx/static]}
|
||||||
[{:keys [x1 y1 width height] :as shape} zoom on-mouse-down]
|
[{:keys [x1 y1 width height] :as shape} zoom on-mouse-down]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue