diff options
author | bptato <nincsnevem662@gmail.com> | 2023-07-27 18:32:54 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-07-27 18:32:54 +0200 |
commit | a5edc0a92a02116e08acba0c1e0a9d91b5fd6688 (patch) | |
tree | 04b0d1e8ef1c8fbfbc4713b8b0b7fd21d88d0164 /src | |
parent | 050a18afb4009d973d3d3989ccae389d5473da25 (diff) | |
download | chawan-a5edc0a92a02116e08acba0c1e0a9d91b5fd6688.tar.gz |
layout: remove incorrect comment
Diffstat (limited to 'src')
-rw-r--r-- | src/layout/engine.nim | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim index b8b787b7..adf691ef 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -930,8 +930,6 @@ proc buildInline(ictx: InlineContext, box: InlineBoxBuilder) = if box.splitend: let padding_right = box.computed{"padding-right"}.px(ictx.viewport, ictx.availableWidth) - # Padding should not be treated as whitespace, so we just increase line - # width instead of adding fake spacing. ictx.currentLine.width += padding_right if padding_right > 0: ictx.currentLine.addPadding(padding_right, |