0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Fix broken circle shapes geometry on comp-v2 migration

This commit is contained in:
Andrey Antukh 2024-02-01 08:49:58 +01:00
parent 3a401f69fd
commit dba10ffd9b

View file

@ -355,7 +355,8 @@
:points points))
(and (or (cfh/rect-shape? shape)
(cfh/svg-raw-shape? shape))
(cfh/svg-raw-shape? shape)
(cfh/circle-shape? shape))
(not (valid-shape-points? (:points shape)))
(grc/valid-rect? (:selrect shape)))
(let [selrect (if (grc/valid-rect? (:svg-viewbox shape))