UI-1675: Preserve symbol tint when expanding effects

This commit is contained in:
dotCooCoo
2026-11-05 05:52:34 +07:00
committed by bflatastic
parent 632cb9d649
commit dcefceddf6
2 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -765,7 +765,7 @@ fn expanded_node(d: &mut Document, mut n: Node, brushes: &[vectorcraft_brush::Br
// them with a gradient or changes their fills and strokes): through their outlines.
let symbol = match &n.kind {
NodeKind::SymbolInstance { symbol, .. } => {
d.symbols.iter().find(|s| s.name == *symbol).map(|s| vectorcraft_doc::symbol_overrides::dynamic_art(&s.art, &n))
d.symbols.iter().find(|s| s.name == *symbol).map(|s| vectorcraft_render::instance_art(&s.art, &n))
}
_ => None,
};