mirror of
https://github.com/penpot/penpot.git
synced 2025-02-26 08:45:34 -05:00
🐛 Fixes problem when drawing new shape
This commit is contained in:
parent
a7cb90919f
commit
91eebecb61
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@
|
||||||
|
|
||||||
(mf/defc generic-draw-area
|
(mf/defc generic-draw-area
|
||||||
[{:keys [shape zoom]}]
|
[{: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)
|
(when (and x y)
|
||||||
[:g
|
[:g
|
||||||
[:& shapes/shape-wrapper {:shape shape}]
|
[:& shapes/shape-wrapper {:shape shape}]
|
||||||
|
|
Loading…
Add table
Reference in a new issue