From b5d6c75ae003325b783a831fa54b083a3d1d8b55 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 24 Feb 2024 14:30:37 +0100 Subject: layout: make it compile :/ --- src/layout/engine.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/layout/engine.nim b/src/layout/engine.nim index 049da947..6ae28e8f 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -2176,8 +2176,8 @@ proc layoutBlockChildren(state: var BlockState, bctx: var BlockContext, var dy: LayoutUnit = 0 # delta var child: BlockBox let isfloat = builder.computed{"float"} != FLOAT_NONE - let isinflow = builder.computed{"position"} != POSITION_ABSOLUTE - and not isfloat + let isinflow = builder.computed{"position"} != POSITION_ABSOLUTE and + not isfloat if builder.computed.establishesBFC(): var marginBottomOut: LayoutUnit child = bctx.lctx.layoutRootBlock(builder, state.space, state.offset, -- cgit 1.4.1-2-gfad0