From f21dc8b7e2de62d3439ce2c72a6589e8f02a41ab Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Sat, 5 Apr 2025 01:45:50 -0300 Subject: [PATCH] a footer todo --- crates/typst-layout/src/grid/repeated.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/typst-layout/src/grid/repeated.rs b/crates/typst-layout/src/grid/repeated.rs index 6ff625c32..bd4b32b60 100644 --- a/crates/typst-layout/src/grid/repeated.rs +++ b/crates/typst-layout/src/grid/repeated.rs @@ -357,6 +357,10 @@ impl<'a> GridLayouter<'a> { skipped_region = true; } + // TODO: Consider resetting header height etc. if we skip region. + // That is unnecessary at the moment as 'prepare_footers' is only + // called at the start of the region, but what about when we can have + // footers in the middle of the region? Let's think about this then. self.footer_height = if skipped_region { // Simulate the footer again; the region's 'full' might have // changed.