mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
🐛 Fix collapse group shadow independently
This commit is contained in:
parent
d8a6abfb88
commit
87146bea85
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@
|
||||||
[layer-ids layer-values] (get-attrs [shape] objects :layer)
|
[layer-ids layer-values] (get-attrs [shape] objects :layer)
|
||||||
[constraint-ids constraint-values] (get-attrs [shape] objects :constraint)
|
[constraint-ids constraint-values] (get-attrs [shape] objects :constraint)
|
||||||
[fill-ids fill-values] (get-attrs [shape] objects :fill)
|
[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)
|
[blur-ids blur-values] (get-attrs [shape] objects :blur)
|
||||||
[stroke-ids stroke-values] (get-attrs [shape] objects :stroke)
|
[stroke-ids stroke-values] (get-attrs [shape] objects :stroke)
|
||||||
[text-ids text-values] (get-attrs [shape] objects :text)
|
[text-ids text-values] (get-attrs [shape] objects :text)
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
:shared-libs shared-libs}]
|
:shared-libs shared-libs}]
|
||||||
|
|
||||||
(when-not (empty? shadow-ids)
|
(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)
|
(when-not (empty? blur-ids)
|
||||||
[:& blur-menu {:type type :ids blur-ids :values blur-values}])
|
[:& blur-menu {:type type :ids blur-ids :values blur-values}])
|
||||||
|
|
Loading…
Add table
Reference in a new issue