From 87146bea855c4589f5fb8bf5cdabb42e1734300a Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Thu, 21 Mar 2024 17:25:15 +0100 Subject: [PATCH] :bug: Fix collapse group shadow independently --- .../app/main/ui/workspace/sidebar/options/shapes/group.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/group.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/group.cljs index a892a87e0..f605ac544 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/group.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/group.cljs @@ -59,7 +59,7 @@ [layer-ids layer-values] (get-attrs [shape] objects :layer) [constraint-ids constraint-values] (get-attrs [shape] objects :constraint) [fill-ids fill-values] (get-attrs [shape] objects :fill) - [shadow-ids shadow-values] (get-attrs [shape] objects :shadow) + [shadow-ids _] (get-attrs [shape] objects :shadow) [blur-ids blur-values] (get-attrs [shape] objects :blur) [stroke-ids stroke-values] (get-attrs [shape] objects :stroke) [text-ids text-values] (get-attrs [shape] objects :text) @@ -108,7 +108,7 @@ :shared-libs shared-libs}] (when-not (empty? shadow-ids) - [:& shadow-menu {:type type :ids shadow-ids :values shadow-values}]) + [:& shadow-menu {:type type :ids ids :values (select-keys shape [:shadow])}]) (when-not (empty? blur-ids) [:& blur-menu {:type type :ids blur-ids :values blur-values}])