From 0727713424878fed3936d4b6e7cecd4f0c58d888 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 15 Oct 2019 09:07:03 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20double-spaces=20bug=20=F0=9F=9A=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/flex.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layout/flex.rs b/src/layout/flex.rs index 33f3d38b1..d6739f1bd 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.