mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
parent
8175f8dd2a
commit
cd68a783dd
1 changed files with 2 additions and 5 deletions
|
@ -264,11 +264,8 @@ static void _applyComposition(Paint* paint, const SvgNode* node, const Box& vBox
|
|||
if (_appendChildShape(*child, comp.get(), vBox, svgPath)) valid = true;
|
||||
}
|
||||
|
||||
if (valid) {
|
||||
comp->fill(255, 255, 255, 255);
|
||||
comp->opacity(255);
|
||||
paint->composite(move(comp), CompositeMethod::ClipPath);
|
||||
}
|
||||
if (valid) paint->composite(move(comp), CompositeMethod::ClipPath);
|
||||
|
||||
node->style->clipPath.applying = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue