mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix groups without :shapes when converting to frames in migration
This commit is contained in:
parent
df99ca55f8
commit
9d8628b4cc
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@
|
||||||
(assoc shape
|
(assoc shape
|
||||||
:type :frame ; Old groups must be converted
|
:type :frame ; Old groups must be converted
|
||||||
:fills (or (:fills shape) []) ; to frames and conform to spec
|
:fills (or (:fills shape) []) ; to frames and conform to spec
|
||||||
|
:shapes (or (:shapes shape) [])
|
||||||
:hide-in-viewer (or (:hide-in-viewer shape) true)
|
:hide-in-viewer (or (:hide-in-viewer shape) true)
|
||||||
:rx (or (:rx shape) 0)
|
:rx (or (:rx shape) 0)
|
||||||
:ry (or (:ry shape) 0))
|
:ry (or (:ry shape) 0))
|
||||||
|
|
Loading…
Reference in a new issue