mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:28:11 +00:00
LibHTML: Use floating point numbers throughout the layout tree
This commit is contained in:
parent
da23864c8d
commit
c628ebda0f
15 changed files with 59 additions and 52 deletions
|
@ -21,6 +21,6 @@ void LayoutListItem::layout()
|
|||
append_child(*m_marker);
|
||||
}
|
||||
|
||||
Rect marker_rect { x() - 8, y(), 4, height() };
|
||||
FloatRect marker_rect { x() - 8, y(), 4, height() };
|
||||
m_marker->set_rect(marker_rect);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue