diff options
| author | PgBiel <9021226+PgBiel@users.noreply.github.com> | 2025-06-13 03:34:53 -0300 |
|---|---|---|
| committer | PgBiel <9021226+PgBiel@users.noreply.github.com> | 2025-06-28 22:39:35 -0300 |
| commit | a2f559317495b6df20875e38c1c37f9aa02c4115 (patch) | |
| tree | a351c3cc37fa1ccc695f31ae6d7d087dc72730d8 | |
| parent | c346fb85892c7de53fee87cc1028128aaee10380 (diff) | |
improve check to pull next repeating footer
| -rw-r--r-- | crates/typst-layout/src/grid/repeated.rs | 3 |
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(()) |
