make the spinner delay less sensitive

This commit is contained in:
yugecin 2016-10-04 13:44:05 +02:00
parent 5c2fc16124
commit c0ea819ccb

View File

@ -633,22 +633,22 @@ public class Options {
}
},
DANCE_SPINNER_DELAY ("Spinner delay", "SpinnerDelay", "Fiddle with this if spinner goes too fast.", Spinner.DELAY, 0, 20) {
DANCE_SPINNER_DELAY ("Spinner delay", "SpinnerDelay", "Fiddle with this if spinner goes too fast.", Spinner.DELAY, 0, 200) {
@Override
public String getValueString() {
return String.format("%dms", val);
return String.format("%dms", val / 10);
}
@Override
public void drag(GameContainer container, int d) {
super.drag(container, d);
Spinner.DELAY = val;
Spinner.DELAY = val / 10;
}
@Override
public void read(String s) {
super.read(s);
Spinner.DELAY = val;
Spinner.DELAY = val / 10;
}
},