Fix out of flow check (#3533)
This commit is contained in:
parent
67ba8d6c0e
commit
1e2c239971
|
|
@ -157,7 +157,8 @@ impl FlowItem {
|
|||
match self {
|
||||
Self::Placed { float: false, .. } => true,
|
||||
Self::Frame { frame, .. } => {
|
||||
frame.items().all(|(_, item)| matches!(item, FrameItem::Meta(..)))
|
||||
frame.size().is_zero()
|
||||
&& frame.items().all(|(_, item)| matches!(item, FrameItem::Meta(..)))
|
||||
}
|
||||
_ => false,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue