0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-27 00:49:28 -05:00

Remove unused code.

This commit is contained in:
Andrey Antukh 2016-08-23 16:27:37 +03:00
parent 7875a6b961
commit 0a547aed4c
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

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