tween reset fix

This commit is contained in:
Adam Templeton 2022-01-28 12:18:22 -06:00
parent 368b37b916
commit 1ead3ecd7d

View file

@ -967,13 +967,16 @@ var Tween = new Class({
this.state = TWEEN_CONST.ACTIVE;
}
this.isSeeking = true;
do
if (toPosition > 0)
{
this.update(0, delta);
this.isSeeking = true;
} while (this.totalProgress < toPosition);
do
{
this.update(0, delta);
} while (this.totalProgress < toPosition);
}
this.isSeeking = false;