Skip to content

Commit 7620d8a

Browse files
committed
fix(forest): inline nodes wrap
1 parent c634e1e commit 7620d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

float-pigment-forest/src/layout/layout_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ impl InlineMeasure<Node> for LayoutInlineMeasure {
426426
if (current_line.total_inline_size
427427
+ inline_unit.size.width
428428
+ margin.horizontal()
429-
> suggested_width)
429+
>= suggested_width)
430430
&& !current_line.is_empty()
431431
{
432432
prev_line_block_start += current_line.total_block_size;

0 commit comments

Comments
 (0)