summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst-layout/src/grid/repeated.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/typst-layout/src/grid/repeated.rs b/crates/typst-layout/src/grid/repeated.rs
index a93acd98..1a873310 100644
--- a/crates/typst-layout/src/grid/repeated.rs
+++ b/crates/typst-layout/src/grid/repeated.rs
@@ -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(())