We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63a076 commit 384f89fCopy full SHA for 384f89f
float-pigment-layout/src/algo/flex_box.rs
@@ -897,7 +897,6 @@ impl<T: LayoutTreeNode> FlexBox<T> for LayoutUnit<T> {
897
.items
898
.iter()
899
.map(|child| {
900
- dbg!(&child.first_baseline_ascent, &child.margin);
901
if child.final_align_self == AlignSelf::Baseline {
902
max_baseline - child.first_baseline_ascent.cross_axis(dir)
903
+ child.hypothetical_outer_size.cross_size(dir)
@@ -907,7 +906,6 @@ impl<T: LayoutTreeNode> FlexBox<T> for LayoutUnit<T> {
907
906
}
908
})
909
.fold(T::Length::zero(), |acc, x| acc.max(x));
910
- dbg!(line.cross_size, max_baseline);
911
912
913
// If the flex container is single-line, then clamp the line’s cross-size to be within the container’s computed min
0 commit comments