mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
🐛 Add minor adjustment to migration 33 to accept and fix invalid root frames
This commit is contained in:
parent
d4c91ae44b
commit
09ba1c262b
1 changed files with 4 additions and 0 deletions
|
@ -623,6 +623,10 @@
|
|||
(-> object
|
||||
(assoc :parent-id uuid/zero)
|
||||
(assoc :frame-id uuid/zero)
|
||||
;; We explicitly dissoc them and let the shape-setup
|
||||
;; to regenerate it with valid values.
|
||||
(dissoc :selrect)
|
||||
(dissoc :points)
|
||||
(cts/setup-shape))
|
||||
object))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue