0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-04 11:01:20 -05:00

🐛 Fix Move layers fails (sometimes)

This commit is contained in:
Pablo Alba 2022-09-08 10:27:43 +02:00
parent 1e2d100c81
commit 27aa20f00b

View file

@ -184,7 +184,7 @@
on-drop
(mf/use-fn
(mf/deps id)
(mf/deps id index objects)
(fn [side _data]
(if (= side :center)
(st/emit! (dw/relocate-selected-shapes id 0))