mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 06:06:10 +02:00
Minor bug on drawarea.
This commit is contained in:
parent
5695d07e7e
commit
15f6672b0e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
[own]
|
[own]
|
||||||
(let [shape (rum/react drawing-shape)
|
(let [shape (rum/react drawing-shape)
|
||||||
position (rum/react drawing-position)]
|
position (rum/react drawing-position)]
|
||||||
(when shape
|
(when (and shape position)
|
||||||
(-> (assoc shape :drawing? true)
|
(-> (assoc shape :drawing? true)
|
||||||
(geom/resize position)
|
(geom/resize position)
|
||||||
(uusc/render-shape identity)))))
|
(uusc/render-shape identity)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue