mirror of
https://github.com/typst/typst
synced 2025-07-15 16:42:53 +08:00
improve check to pull next repeating footer
This commit is contained in:
parent
c346fb8589
commit
a2f5593174
@ -518,10 +518,9 @@ impl<'a> GridLayouter<'a> {
|
||||
|| self
|
||||
.upcoming_sorted_footers
|
||||
.first()
|
||||
.is_none_or(|f| f.level >= footer.level)
|
||||
.is_some_and(|f| f.level >= footer.level)
|
||||
{
|
||||
self.prepare_next_repeating_footers(false, engine)?;
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
Loading…
x
Reference in New Issue
Block a user