mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 20:49:37 +00:00
Remove unused code.
This commit is contained in:
parent
7875a6b961
commit
0a547aed4c
@ -165,15 +165,11 @@
|
|||||||
(dom/stop-propagation event)
|
(dom/stop-propagation event)
|
||||||
(rlocks/acquire! :shape/resize)
|
(rlocks/acquire! :shape/resize)
|
||||||
(start-path-edition id index))]
|
(start-path-edition id index))]
|
||||||
(let [
|
[:g.controls
|
||||||
;;tmx (geom/transformation-matrix shape)
|
(for [[index {:keys [x y]}] (map-indexed vector points)]
|
||||||
;;points (map #(gpt/transform % tmx) points)
|
[:circle {:cx x :cy y :r 3
|
||||||
]
|
:on-mouse-down (partial on-mouse-down index)
|
||||||
[:g.controls
|
:fill "red"}])]))
|
||||||
(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
|
(mx/defc selection-handlers
|
||||||
{:mixins [mx/reactive mx/static]}
|
{:mixins [mx/reactive mx/static]}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user