diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-16 14:03:27 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-16 14:03:27 +0100 |
| commit | 796c2486cee82f6e5aefc2d7d02f82a7eeb35a07 (patch) | |
| tree | e52175e709102affcedbfc7b94479a3e3b16262f /src/layout/flex.rs | |
| parent | ac4d501945e9b63f6b5f11c4c1a2ec0738d0b058 (diff) | |
Axes updating for stack layouter 📐
Diffstat (limited to 'src/layout/flex.rs')
| -rw-r--r-- | src/layout/flex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/flex.rs b/src/layout/flex.rs index a65391da..20686e9f 100644 --- a/src/layout/flex.rs +++ b/src/layout/flex.rs @@ -142,7 +142,7 @@ impl FlexLayouter { Err(LayoutError::NotEnoughSpace("cannot fix box into flex run"))?; } - self.stack.finish_layout(true); + self.stack.add_break(true); self.usable = self.stack.usable().x; } |
