From 81564dbfa9268186c285805d19ff356da7695629 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 25 Jun 2025 12:11:19 +0200 Subject: [PATCH] :bug: Fix regression on changing color type on fills --- .../src/app/main/ui/workspace/sidebar/options/menus/fill.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/fill.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/fill.cljs index 72dc73134c..18992c1af7 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/fill.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/fill.cljs @@ -91,7 +91,8 @@ on-change (fn [index] (fn [color] - (st/emit! (dc/change-fill ids color index)))) + (let [color (select-keys color ctc/color-attrs)] + (st/emit! (dc/change-fill ids color index))))) on-reorder (fn [new-index]