0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-14 11:09:04 -05:00

Minor bug on drawarea.

This commit is contained in:
Andrey Antukh 2016-04-23 09:04:39 +03:00
parent 5695d07e7e
commit 15f6672b0e
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -36,7 +36,7 @@
[own]
(let [shape (rum/react drawing-shape)
position (rum/react drawing-position)]
(when shape
(when (and shape position)
(-> (assoc shape :drawing? true)
(geom/resize position)
(uusc/render-shape identity)))))