improve check to pull next repeating footer

This commit is contained in:
PgBiel 2025-06-13 03:34:53 -03:00
parent c346fb8589
commit a2f5593174

View File

@ -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(())