diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-10-17 14:38:48 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-10-23 20:23:47 +0200 |
| commit | 5becb32ba463d6b0ace914ab06bb237483a94fbc (patch) | |
| tree | 684efb242ddb04e71c54f9665cc59891f734e518 /src/layout/incremental.rs | |
| parent | c627847cb39572c08f3b53db07ea325ef0d352fa (diff) | |
Introduce page / block / inline levels
Diffstat (limited to 'src/layout/incremental.rs')
| -rw-r--r-- | src/layout/incremental.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/incremental.rs b/src/layout/incremental.rs index 19a41a22..2f6dccd0 100644 --- a/src/layout/incremental.rs +++ b/src/layout/incremental.rs @@ -230,7 +230,7 @@ impl FramesEntry { let mut iter = regions.iter(); self.frames.iter().all(|frame| { iter.next().map_or(false, |(current, base)| { - frame.constraints.check(current, base, regions.expand) + frame.cts.check(current, base, regions.expand) }) }) } @@ -400,7 +400,7 @@ mod tests { fn empty_frames() -> Vec<Constrained<Rc<Frame>>> { vec![Constrained { item: Rc::new(Frame::default()), - constraints: Constraints::new(Spec::splat(false)), + cts: Constraints::new(Spec::splat(false)), }] } |
