mirror of
https://github.com/typst/typst
synced 2025-08-23 19:24:14 +08:00
fix last repeating footers not being pushed
This commit is contained in:
parent
467a13add2
commit
5e6ab1bef3
@ -2441,6 +2441,8 @@ fn simulate_footer_repetition(footers: &[Repeatable<Footer>]) -> Vec<Repeatable<
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Push remaining footers that repeat starting from the top of the grid
|
||||||
|
ordered_footers.extend(repeating_footers.into_iter().rev().cloned());
|
||||||
ordered_footers.reverse();
|
ordered_footers.reverse();
|
||||||
|
|
||||||
ordered_footers
|
ordered_footers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user