mirror of
https://github.com/typst/typst
synced 2025-07-16 00:52:54 +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
|
|| self
|
||||||
.upcoming_sorted_footers
|
.upcoming_sorted_footers
|
||||||
.first()
|
.first()
|
||||||
.is_none_or(|f| f.level >= footer.level)
|
.is_some_and(|f| f.level >= footer.level)
|
||||||
{
|
{
|
||||||
self.prepare_next_repeating_footers(false, engine)?;
|
self.prepare_next_repeating_footers(false, engine)?;
|
||||||
return Ok(());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user