mirror of
https://github.com/typst/typst
synced 2025-07-16 00:52:54 +08:00
fix footer layout range
This commit is contained in:
parent
183f47ecc0
commit
7ee5dfaa89
@ -665,7 +665,7 @@ impl<'a> GridLayouter<'a> {
|
|||||||
|
|
||||||
// TODO(subfooters): also consider omitted gutter before the footer
|
// TODO(subfooters): also consider omitted gutter before the footer
|
||||||
// when there is a header right before it taking it.
|
// when there is a header right before it taking it.
|
||||||
for y in footer.range.start..self.grid.rows.len() {
|
for y in footer.range.clone() {
|
||||||
self.layout_row_with_state(
|
self.layout_row_with_state(
|
||||||
y,
|
y,
|
||||||
engine,
|
engine,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user