diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-11 22:14:29 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-11 22:14:29 +0100 |
commit | 5931e0a5578852dcd0a7d7820be3012f2132f848 (patch) | |
tree | 774a03817b87040cd33c9eec1378d5c01e760d5b /src/layout | |
parent | a6ba161aac13966ae6edab48caaccb348964eac0 (diff) | |
download | chawan-5931e0a5578852dcd0a7d7820be3012f2132f848.tar.gz |
layout/engine: fix wrap on pre-wrap (instead of pre-line)
Diffstat (limited to 'src/layout')
-rw-r--r-- | src/layout/engine.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim index 88d87bb1..c22e96e7 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -24,7 +24,7 @@ type InlineState = object computed: CSSComputedValues func whitespacepre(computed: CSSComputedValues): bool {.inline.} = - computed{"white-space"} in {WHITESPACE_PRE, WHITESPACE_PRE_WRAP} + computed{"white-space"} in {WHITESPACE_PRE, WHITESPACE_PRE_LINE} func cellwidth(viewport: Viewport): int {.inline.} = viewport.window.ppc |