diff options
| author | PgBiel <9021226+PgBiel@users.noreply.github.com> | 2025-06-13 01:31:35 -0300 |
|---|---|---|
| committer | PgBiel <9021226+PgBiel@users.noreply.github.com> | 2025-06-28 22:39:35 -0300 |
| commit | 7ee5dfaa8943ce3073928868e1d83b102175f578 (patch) | |
| tree | 97a9e2390b4cfe6ec42a0f0212a1e30525534f02 | |
| parent | 183f47ecc034a534612a52f635cc696159e30329 (diff) | |
fix footer layout range
| -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, |
