mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 11:48:28 +00:00
🐛 Fixes problem when drawing new shape
This commit is contained in:
parent
a7cb90919f
commit
91eebecb61
@ -301,7 +301,7 @@
|
||||
|
||||
(mf/defc generic-draw-area
|
||||
[{:keys [shape zoom]}]
|
||||
(let [{:keys [x y width height]} (geom/shape->rect-shape shape)]
|
||||
(let [{:keys [x y width height]} (geom/transform-selrect nil shape)]
|
||||
(when (and x y)
|
||||
[:g
|
||||
[:& shapes/shape-wrapper {:shape shape}]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user