mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix grouped component shadow
This commit is contained in:
parent
f2d09a6140
commit
0b2dfe7297
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 348 KiB After Width: | Height: | Size: 348 KiB |
@ -1703,7 +1703,13 @@ impl RenderState {
|
||||
);
|
||||
|
||||
if !matches!(element.shape_type, Type::Bool(_)) {
|
||||
for shadow_shape_id in element.children.iter() {
|
||||
let shadow_children = if element.is_recursive() {
|
||||
get_simplified_children(tree, element)
|
||||
} else {
|
||||
Vec::new()
|
||||
};
|
||||
|
||||
for shadow_shape_id in shadow_children.iter() {
|
||||
let Some(shadow_shape) = tree.get(shadow_shape_id) else {
|
||||
continue;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user