fix: bundle correct version of SpruceUI

This commit is contained in:
Martin Prokoph
2025-12-15 21:23:28 +01:00
parent 13adff2e26
commit f8117cf3d0
3 changed files with 7 additions and 3 deletions

View File

@@ -118,6 +118,8 @@ public class ControllerBindingButton extends ButtonWidget implements ControlsInp
@Override
protected void drawIcon(DrawContext context, int mouseX, int mouseY, float deltaTicks) {
this.drawButton(context);
this.drawLabel(context.getHoverListener(this, DrawContext.HoverType.NONE));
int x = this.getX();
if (this.binding.getButton().length > 1) {
x += (this.width / 2 - iconWidth / 2) - 4;