fix footer layout range

This commit is contained in:
PgBiel 2025-06-13 01:31:35 -03:00
parent 183f47ecc0
commit 7ee5dfaa89

View File

@ -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,