1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:28:13 +00:00

LibWeb: Clear SVG context after SVGSVGBox children are painted

This commit is contained in:
K-Adam 2021-08-01 16:30:18 +02:00 committed by Andreas Kling
parent eb1578e7c8
commit 758d816b23
2 changed files with 2 additions and 0 deletions

View file

@ -37,6 +37,7 @@ void SVGSVGBox::after_children_paint(PaintContext& context, PaintPhase phase)
SVGGraphicsBox::after_children_paint(context, phase);
if (phase != PaintPhase::Foreground)
return;
context.clear_svg_context();
}
}