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 4f87134 commit edf51c1Copy full SHA for edf51c1
src/main/java/com/cleanroommc/modularui/test/TestGuis.java
@@ -502,12 +502,13 @@ public static ModularPanel buildCollapseDisabledChildrenUI() {
502
.child(correctedGradient.asWidget().widthRel(1f).height(10)));
503
}
504
505
- public static @NotNull ModularPanel buildViewportTransformUI(ModularGuiContext context) {
+ public static @NotNull ModularPanel buildViewportTransformUI() {
506
return new TestPanel("test")
507
.child(new Widget<>()
508
.align(Alignment.Center)
509
.size(50, 50)
510
- .background(GuiTextures.BUTTON_CLEAN));
+ .background(GuiTextures.MC_BUTTON)
511
+ .hoverBackground(GuiTextures.MC_BUTTON_HOVERED));
512
513
514
private static class TestPanel extends ModularPanel {
0 commit comments