Fix bugs 🚧

This commit is contained in:
Laurenz 2019-11-23 00:09:46 +01:00
parent 6ff60bc368
commit 833166c3bf
2 changed files with 2 additions and 1 deletions

View File

@ -255,7 +255,7 @@ impl StackLayouter {
let new_usable = self.ctx.axes.specialize(Size2D { let new_usable = self.ctx.axes.specialize(Size2D {
x: self.sub.usable.x, 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) (new_origin, new_usable)

View File

@ -79,6 +79,7 @@ class MultiboxRenderer:
x = 10 x = 10
y += 10 + row_height y += 10 + row_height
i = 0 i = 0
row_height = 0
height = y height = y
if i != 0: if i != 0: