mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibWeb: Make LineBox take incoming fragment size as floats
This commit is contained in:
parent
52d993cfa8
commit
90b12a41c8
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ public:
|
|||
|
||||
float width() const { return m_width; }
|
||||
|
||||
void add_fragment(Node& layout_node, int start, int length, int width, int height, LineBoxFragment::Type = LineBoxFragment::Type::Normal);
|
||||
void add_fragment(Node& layout_node, int start, int length, float width, float height, LineBoxFragment::Type = LineBoxFragment::Type::Normal);
|
||||
|
||||
const NonnullOwnPtrVector<LineBoxFragment>& fragments() const { return m_fragments; }
|
||||
NonnullOwnPtrVector<LineBoxFragment>& fragments() { return m_fragments; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue