mirror of
https://github.com/typst/typst
synced 2025-05-21 20:45:27 +08:00
Rerun tests
This commit is contained in:
parent
c5e3c33387
commit
1322195c9a
@ -336,12 +336,12 @@ impl<'a, 'b> Distributor<'a, 'b, '_, '_, '_> {
|
|||||||
.iter()
|
.iter()
|
||||||
.skip(1)
|
.skip(1)
|
||||||
.find_map(|child| match child {
|
.find_map(|child| match child {
|
||||||
Child::Single(single) => {
|
Child::Single(single) => Some(
|
||||||
Some(single.sticky.as_ref().map(|s| s.is_sticky_above()).unwrap_or(false))
|
single.sticky.as_ref().map(|s| s.is_sticky_above()).unwrap_or(false),
|
||||||
}
|
),
|
||||||
Child::Multi(multi) => {
|
Child::Multi(multi) => Some(
|
||||||
Some(multi.sticky.as_ref().map(|s| s.is_sticky_above()).unwrap_or(false))
|
multi.sticky.as_ref().map(|s| s.is_sticky_above()).unwrap_or(false),
|
||||||
}
|
),
|
||||||
_ => None,
|
_ => None,
|
||||||
})
|
})
|
||||||
.unwrap_or(false);
|
.unwrap_or(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user