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:
parent
7875a6b961
commit
0a547aed4c
1 changed files with 5 additions and 9 deletions
|
@ -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]}
|
||||
|
|
Loading…
Add table
Reference in a new issue