Fix selection rect of drawing circle.

This commit is contained in:
Andrey Antukh 2017-02-21 20:00:18 +01:00
parent 12f40744d2
commit ead0fd53e3
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@
(mx/defc generic-draw-area
[shape zoom]
(let [{:keys [x1 y1 width height]} (geom/size shape)]
(let [{:keys [x1 y1 width height]} (geom/selection-rect shape)]
[:g
(-> (assoc shape :drawing? true)
(shapes/render-component))