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

🐛 Fix problem with grid ordering

This commit is contained in:
alonso.torres 2024-04-04 16:22:08 +02:00 committed by Andrés Moya
parent e420be5e51
commit c295680c89

View file

@ -608,11 +608,11 @@
(->> move-stream
(rx/last)
(rx/mapcat
(fn [[_ target-frame drop-index cell-data]]
(fn [[_ target-frame drop-index]]
(let [undo-id (js/Symbol)]
(rx/of (dwu/start-undo-transaction undo-id)
(dwm/apply-modifiers {:undo-transation? false})
(move-shapes-to-frame ids target-frame drop-index cell-data)
(move-shapes-to-frame ids target-frame drop-index nil)
(finish-transform)
(dwu/commit-undo-transaction undo-id))))))))))))))