Properly resets GuiReplaySpeedSlider's text value when calling reset() function

This commit is contained in:
CrushedPixel
2015-06-16 22:35:51 +02:00
parent 828f3c9ba0
commit f33c00814a

View File

@@ -36,6 +36,7 @@ public class GuiReplaySpeedSlider extends GuiButton implements GuiElement {
public void reset() {
sliderValue = 9f / 38f;
displayString = displayKey + ": 1x";
}
public static float convertScaleRet(float value) {