diff options
| -rw-r--r-- | crates/typst-layout/src/grid/repeated.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-layout/src/grid/repeated.rs b/crates/typst-layout/src/grid/repeated.rs index c1fbe7e0..2f9a5a94 100644 --- a/crates/typst-layout/src/grid/repeated.rs +++ b/crates/typst-layout/src/grid/repeated.rs @@ -665,7 +665,7 @@ impl<'a> GridLayouter<'a> { // TODO(subfooters): also consider omitted gutter before the footer // 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( y, engine, |
