mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Fix double-spaces bug 🚧
This commit is contained in:
parent
5473e3903a
commit
0727713424
@ -138,6 +138,7 @@ impl FlexLayouter {
|
|||||||
return Err(LayoutError::NotEnoughSpace);
|
return Err(LayoutError::NotEnoughSpace);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.next_glue = None;
|
||||||
self.finish_flex_run();
|
self.finish_flex_run();
|
||||||
} else {
|
} else {
|
||||||
// Only add the glue if we did not move to a new line.
|
// Only add the glue if we did not move to a new line.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user