From 27aa20f00b63523283767f4ef6f1ba3010761566 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Thu, 8 Sep 2022 10:27:43 +0200 Subject: [PATCH] :bug: Fix Move layers fails (sometimes) --- frontend/src/app/main/ui/workspace/sidebar/layers.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs index 82d001351..96b99ec9d 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs @@ -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))