diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-23 00:09:46 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-23 00:09:46 +0100 |
| commit | 833166c3bf25513e977d85b050e3c985bb7465b5 (patch) | |
| tree | bae23f65a14477f03384d41bda3706334565a41d /src | |
| parent | 6ff60bc3688d8ae2caa3ea18bc23963d25ab5daa (diff) | |
Fix bugs 🚧
Diffstat (limited to 'src')
| -rw-r--r-- | src/layout/stacked.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/stacked.rs b/src/layout/stacked.rs index a6999dee..2e128a5f 100644 --- a/src/layout/stacked.rs +++ b/src/layout/stacked.rs @@ -255,7 +255,7 @@ impl StackLayouter { let new_usable = self.ctx.axes.specialize(Size2D { x: self.sub.usable.x, - y: self.sub.usable.y - self.sub.dimensions.y, + y: self.sub.usable.y - self.sub.dimensions.y - self.sub.space.soft_or_zero(), }); (new_origin, new_usable) |
