mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Clear SVG context after SVGSVGBox children are painted
This commit is contained in:
parent
eb1578e7c8
commit
758d816b23
Notes:
sideshowbarker
2024-07-18 07:26:46 +09:00
Author: https://github.com/K-Adam
Commit: 758d816b23
Pull-request: https://github.com/SerenityOS/serenity/pull/9162
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/awesomekling
2 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue