fix spinnerdelay
This commit is contained in:
parent
b6c8b9753e
commit
eb834134ee
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user