diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-10-15 09:07:03 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-10-15 09:07:03 +0200 |
| commit | 0727713424878fed3936d4b6e7cecd4f0c58d888 (patch) | |
| tree | c0869b482d8a454814ae4391b7280f4dfd0592ec /src/layout/flex.rs | |
| parent | 5473e3903a306d41d9555e2d4d5c1927fd59f0e9 (diff) | |
Fix double-spaces bug 🚧
Diffstat (limited to 'src/layout/flex.rs')
| -rw-r--r-- | src/layout/flex.rs | 1 |
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. |
