Skip to content

Commit

Permalink
fix: CE
Browse files Browse the repository at this point in the history
  • Loading branch information
zly2006 committed Sep 13, 2023
1 parent 51e0a88 commit be5ee32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class DropdownComponent extends FlowLayout {
protected boolean closeWhenNotHovered = false;

protected DropdownComponent(Sizing horizontalSizing) {
super(Sizing.content(), Sizing.content(), Algorithm.HORIZONTAL);
super(Sizing.content(), Sizing.content(), Algorithm.HORIZONTAL, null);

this.entries = Containers.verticalFlow(horizontalSizing, Sizing.content());
this.entries.padding(Insets.of(1));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class CollapsibleContainer extends FlowLayout {
protected final FlowLayout contentLayout;

protected CollapsibleContainer(Sizing horizontalSizing, Sizing verticalSizing, Text title, boolean expanded) {
super(horizontalSizing, verticalSizing, Algorithm.VERTICAL);
super(horizontalSizing, verticalSizing, Algorithm.VERTICAL, null);

// Title

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/wispforest/owo/ui/hud/HudContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public class HudContainer extends FlowLayout {

protected HudContainer(Sizing horizontalSizing, Sizing verticalSizing) {
super(horizontalSizing, verticalSizing, Algorithm.VERTICAL);
super(horizontalSizing, verticalSizing, Algorithm.VERTICAL, null);
}

@Override
Expand Down

0 comments on commit be5ee32

Please sign in to comment.