mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Fix bugs 🚧
This commit is contained in:
parent
6ff60bc368
commit
833166c3bf
@ -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)
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user