about summary refs log tree commit diff stats
path: root/src/layout/engine.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-07-25 18:42:24 +0200
committerbptato <nincsnevem662@gmail.com>2022-07-25 18:42:24 +0200
commit7469a7428807d2ffff0000d54d12e209a189d973 (patch)
treebb36c12400e475d7249404c422dbbac7ff8b84a7 /src/layout/engine.nim
parentfce9adc58cc762d6f70c1d34ac97efddd171edc7 (diff)
downloadchawan-7469a7428807d2ffff0000d54d12e209a189d973.tar.gz
Incremental search fixes
Diffstat (limited to 'src/layout/engine.nim')
-rw-r--r--src/layout/engine.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index 7b56d00b..5e2ae857 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -462,7 +462,6 @@ proc buildInlineBlock(builder: InlineBlockBoxBuilder, parent: InlineContext, par
   else:
     result.bctx.buildBlockLayout(blockbuilder.children, blockbuilder.node)
 
-  let preferred = preferredDimensions(builder.computed, parent.viewport, parentWidth, parentHeight)
   let pwidth = builder.computed{"width"}
   if pwidth.auto:
     # Half-baked shrink-to-fit