resumes on rescale only if running
This commit is contained in:
parent
d41e42f838
commit
579326954b
@ -83,7 +83,7 @@ var cancelAnimationFrame = global.cancelAnimationFrame
|
|||||||
this.range = torque.math.linear(0, this.options.steps);
|
this.range = torque.math.linear(0, this.options.steps);
|
||||||
this.rangeInv = this.range.invert();
|
this.rangeInv = this.range.invert();
|
||||||
this.time(this._time);
|
this.time(this._time);
|
||||||
this.start();
|
this.running? this.start(): this.pause();
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user