0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00

🐛 Fix groups without :shapes when converting to frames in migration

This commit is contained in:
Andrés Moya 2024-01-08 16:23:36 +01:00 committed by Andrey Antukh
parent df99ca55f8
commit 9d8628b4cc

View file

@ -255,6 +255,7 @@
(assoc shape
:type :frame ; Old groups must be converted
:fills (or (:fills shape) []) ; to frames and conform to spec
:shapes (or (:shapes shape) [])
:hide-in-viewer (or (:hide-in-viewer shape) true)
:rx (or (:rx shape) 0)
:ry (or (:ry shape) 0))