diff options
Diffstat (limited to 'src/layout/box.nim')
-rw-r--r-- | src/layout/box.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim index 8f460a19..a3dae912 100644 --- a/src/layout/box.nim +++ b/src/layout/box.nim @@ -24,7 +24,8 @@ type Viewport* = ref object window*: WindowAttributes - root*: BlockBox + root*: seq[BlockBox] + absolutes*: seq[BlockBox] BoxBuilder* = ref object of RootObj children*: seq[BoxBuilder] @@ -152,7 +153,7 @@ type maxwidth*: int InlineBlockBox* = ref object of InlineAtom - bctx*: BlockBox + innerbox*: BlockBox margin_top*: int margin_bottom*: int |