Skip to content

Commit 40ed2b8

Browse files
committed
skill issue
1 parent f42ea21 commit 40ed2b8

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/cleanroommc/modularui/widget/sizer

1 file changed

+1
-1
lines changed

src/main/java/com/cleanroommc/modularui/widget/sizer/Flex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ private void coverChildrenForLayout(IWidget widget) {
441441
}
442442
if (this.y.dependsOnChildren() && resizeable.isHeightCalculated()) {
443443
h = Math.max(h, area.requestedHeight() + padding.vertical());
444-
if (resizeable.isXCalculated()) {
444+
if (resizeable.isYCalculated()) {
445445
y1 = Math.max(y1, area.ry + area.height + padding.bottom + margin.bottom);
446446
}
447447
}

0 commit comments

Comments
 (0)