fix first slidertick after repeats not working
This commit is contained in:
parent
d3552bc3ad
commit
e2e1ee2dfc
|
@ -558,9 +558,10 @@ public class Slider extends GameObject {
|
||||||
float t = getT(trackPosition, true);
|
float t = getT(trackPosition, true);
|
||||||
if (Math.floor(t) > currentRepeats) {
|
if (Math.floor(t) > currentRepeats) {
|
||||||
currentRepeats++;
|
currentRepeats++;
|
||||||
tickIntervals++;
|
//tickIntervals++;
|
||||||
tickExpand = TICKEXPAND;
|
tickExpand = TICKEXPAND;
|
||||||
isNewRepeat = true;
|
isNewRepeat = true;
|
||||||
|
tickIndex = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user