mirror of
https://github.com/typst/typst
synced 2025-07-15 16:42:53 +08:00
fix last repeating footers not being pushed
This commit is contained in:
parent
b3fd4676c4
commit
bd7e403a6d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user