mirror of
https://github.com/penpot/penpot.git
synced 2025-05-08 05:45:53 +02:00
🐛 Fix problem with grid ordering
This commit is contained in:
parent
e420be5e51
commit
c295680c89
1 changed files with 2 additions and 2 deletions
|
@ -608,11 +608,11 @@
|
||||||
(->> move-stream
|
(->> move-stream
|
||||||
(rx/last)
|
(rx/last)
|
||||||
(rx/mapcat
|
(rx/mapcat
|
||||||
(fn [[_ target-frame drop-index cell-data]]
|
(fn [[_ target-frame drop-index]]
|
||||||
(let [undo-id (js/Symbol)]
|
(let [undo-id (js/Symbol)]
|
||||||
(rx/of (dwu/start-undo-transaction undo-id)
|
(rx/of (dwu/start-undo-transaction undo-id)
|
||||||
(dwm/apply-modifiers {:undo-transation? false})
|
(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)
|
(finish-transform)
|
||||||
(dwu/commit-undo-transaction undo-id))))))))))))))
|
(dwu/commit-undo-transaction undo-id))))))))))))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue