summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/layout/flex.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/flex.rs b/src/layout/flex.rs
index 33f3d38b..d6739f1b 100644
--- a/src/layout/flex.rs
+++ b/src/layout/flex.rs
@@ -138,6 +138,7 @@ impl FlexLayouter {
return Err(LayoutError::NotEnoughSpace);
}
+ self.next_glue = None;
self.finish_flex_run();
} else {
// Only add the glue if we did not move to a new line.