From 5ed1ff6d41c619dcee6e1ded45753e0404393ae6 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 6 Feb 2024 15:36:51 +0100 Subject: [PATCH] :bug: Fix error when changing shadow color --- .../src/app/main/ui/workspace/sidebar/options/menus/shadow.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/shadow.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/shadow.cljs index 3e82f4363..58fdad3c3 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/shadow.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/shadow.cljs @@ -112,7 +112,7 @@ (fn [color] (st/emit! (dch/update-shapes ids - #(assoc-in % [:shadow index :color] color))))) + #(assoc-in % [:shadow index :color] (d/without-nils color)))))) detach-color (mf/use-fn