0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -05:00

🐛 Fix problem when duplicating grid

This commit is contained in:
alonso.torres 2023-12-04 15:09:02 +01:00 committed by Andrey Antukh
parent edf6ea1cb5
commit 23b5eeaf68

View file

@ -1229,9 +1229,8 @@
(let [do-remap-cells
(fn [cell]
(-> cell
(update :shapes #(mapv ids-map %))))
(update :shapes #(into [] (keep ids-map) %))))
shape
(-> shape
(update :layout-grid-cells update-vals do-remap-cells)
(check-deassigned-cells))]
(update :layout-grid-cells update-vals do-remap-cells))]
shape))