mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode
This commit is contained in:
@@ -41,9 +41,9 @@ LayoutReplaced::~LayoutReplaced()
|
||||
{
|
||||
}
|
||||
|
||||
void LayoutReplaced::split_into_lines(LayoutBlock& container, LayoutMode line_break_policy)
|
||||
void LayoutReplaced::split_into_lines(LayoutBlock& container, LayoutMode layout_mode)
|
||||
{
|
||||
layout(line_break_policy);
|
||||
layout(layout_mode);
|
||||
|
||||
auto* line_box = &container.ensure_last_line_box();
|
||||
if (line_box->width() > 0 && line_box->width() + width() > container.width())
|
||||
|
||||
Reference in New Issue
Block a user