Made the default axis value displayed "0.0"

"-1.0" didn't seem right.
This commit is contained in:
Markil3
2021-02-26 16:11:04 -07:00
parent 6a2c444910
commit dbb9ee23be

View File

@@ -804,7 +804,7 @@ public class JoystickPreviewScreen extends BaseAppState
/* /*
* The current value of the axis. * The current value of the axis.
*/ */
BitmapText label2 = this.guiFont.createLabel("-1.0"); BitmapText label2 = this.guiFont.createLabel("0.0");
label2.setLocalTranslation(label.getLocalTranslation() label2.setLocalTranslation(label.getLocalTranslation()
.add(label.getLineWidth(), 0, 0)); .add(label.getLineWidth(), 0, 0));
this.labels[joy.getJoyId()][i * 2 + 2] = label2; this.labels[joy.getJoyId()][i * 2 + 2] = label2;