forked from Clones/Controlify
➕ Battery level warning + update SDL with macOS ARM support
This commit is contained in:
1 parent
0e8bf0cc9b
commit
71c7e26587
19 files changed
+283
-69
No files matched your search
+1
-1
@@ -22,7 +22,7 @@ public class ControlsScreenMixin extends OptionsSubScreen {
|
||||
|
||||
@Inject(method = "init", at = @At("RETURN"))
|
||||
private void addControllerSettings(CallbackInfo ci, @Local(ordinal = 0) int leftX, @Local(ordinal = 1) int rightX, @Local(ordinal = 2) int currentY) {
|
||||
addRenderableWidget(Button.builder(Component.translatable("controlify.gui.button"), btn -> minecraft.setScreen(YACLHelper.generateConfigScreen(this)))
|
||||
addRenderableWidget(Button.builder(Component.translatable("controlify.gui.button"), btn -> minecraft.setScreen(YACLHelper.openConfigScreen(this)))
|
||||
.pos(leftX, currentY)
|
||||
.width(150)
|
||||
.build());
|
||||
|
||||
Reference in new issue
Block a user