mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
LibWeb: Move InlineNode background code from paint_fragment
-> paint
`paint_fragment()` seems to never get called. Moving the painting to `paint()` fixes the background.
This commit is contained in:
parent
aaf12929d5
commit
3b6325e787
2 changed files with 6 additions and 8 deletions
|
@ -16,7 +16,6 @@ public:
|
|||
virtual ~InlineNode() override;
|
||||
|
||||
virtual void paint(PaintContext&, PaintPhase) override;
|
||||
virtual void paint_fragment(PaintContext&, const LineBoxFragment&, PaintPhase) const override;
|
||||
|
||||
virtual void split_into_lines(InlineFormattingContext&, LayoutMode) override;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue