Skip to content

Commit edf51c1

Browse files
committed
fix transform test
1 parent 4f87134 commit edf51c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/cleanroommc/modularui/test/TestGuis.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,12 +502,13 @@ public static ModularPanel buildCollapseDisabledChildrenUI() {
502502
.child(correctedGradient.asWidget().widthRel(1f).height(10)));
503503
}
504504

505-
public static @NotNull ModularPanel buildViewportTransformUI(ModularGuiContext context) {
505+
public static @NotNull ModularPanel buildViewportTransformUI() {
506506
return new TestPanel("test")
507507
.child(new Widget<>()
508508
.align(Alignment.Center)
509509
.size(50, 50)
510-
.background(GuiTextures.BUTTON_CLEAN));
510+
.background(GuiTextures.MC_BUTTON)
511+
.hoverBackground(GuiTextures.MC_BUTTON_HOVERED));
511512
}
512513

513514
private static class TestPanel extends ModularPanel {

0 commit comments

Comments
 (0)