fix spinnerdelay

This commit is contained in:
yugecin 2016-10-01 15:27:59 +02:00
parent b6c8b9753e
commit eb834134ee

View File

@ -33,7 +33,7 @@ public abstract class Spinner {
} }
public double[] getPoint() { public double[] getPoint() {
if (delay++ < DELAY) { if (++delay > DELAY) {
index = ++index % length; index = ++index % length;
delay = 0; delay = 0;
} }