summaryrefslogtreecommitdiff
path: root/crates/typst-cli/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-09-18 10:49:22 +0200
committerLaurenz <laurmaedje@gmail.com>2023-09-18 10:51:29 +0200
commit72d8a9c89aa9306518edd6484d2097d40ab28d19 (patch)
tree78a2a124b8bde29dab809106b29c74b68c065d15 /crates/typst-cli/src
parent25613cfaf3a20f737ac347f7d7144a5dcaa709a5 (diff)
Fix duplicate state manipulation
The flow layouts footnotes twice in some cases, which messed up the Vt's locator state. Typically, we use `thing.measure` instead of `thing.layout` to prevent side effects, but in this case it was simpler to just undo the modification. A future layout engine rewrite should try to make this kind of error harder to make. Fixes #1597
Diffstat (limited to 'crates/typst-cli/src')
0 files changed, 0 insertions, 0 deletions