0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🐛 Fix collapse group shadow independently

This commit is contained in:
Eva Marco 2024-03-21 17:25:15 +01:00 committed by Andrey Antukh
parent d8a6abfb88
commit 87146bea85

View file

@ -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}])