mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 18:05:08 +00:00
LibGfx: Unpublish FloatRect from the global namespace
This commit is contained in:
parent
418adf3e86
commit
8505d8d15d
8 changed files with 18 additions and 20 deletions
|
@ -38,7 +38,7 @@ void LineBox::add_fragment(const LayoutNode& layout_node, int start, int length,
|
|||
m_fragments.last().m_length = (start - m_fragments.last().m_start) + length;
|
||||
m_fragments.last().m_rect.set_width(m_fragments.last().m_rect.width() + width);
|
||||
} else {
|
||||
m_fragments.empend(layout_node, start, length, FloatRect(m_width, 0, width, height));
|
||||
m_fragments.empend(layout_node, start, length, Gfx::FloatRect(m_width, 0, width, height));
|
||||
}
|
||||
m_width += width;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue