diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-24 14:30:37 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-24 14:30:37 +0100 |
commit | b5d6c75ae003325b783a831fa54b083a3d1d8b55 (patch) | |
tree | be44bbf4e4727483424124a5e4381e3289d15476 /src/layout/engine.nim | |
parent | 5641e4a1e8ac4cf278a12f1865e8e0ba302c227c (diff) | |
download | chawan-b5d6c75ae003325b783a831fa54b083a3d1d8b55.tar.gz |
layout: make it compile
:/
Diffstat (limited to 'src/layout/engine.nim')
-rw-r--r-- | src/layout/engine.nim | 4 |
1 files changed, 2 insertions, 2 deletions
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, |