mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 09:27:37 +00:00
Added this argument
This commit is contained in:
parent
2d82eca8c5
commit
422fbec238
1 changed files with 5 additions and 5 deletions
|
@ -606,11 +606,11 @@ var Tween = new Class({
|
||||||
var target = tweenData.target;
|
var target = tweenData.target;
|
||||||
var gen = tweenData.gen;
|
var gen = tweenData.gen;
|
||||||
|
|
||||||
tweenData.delay = gen.delay(i, totalTargets, target);
|
tweenData.delay = gen.delay(i, totalTargets, target, this);
|
||||||
tweenData.duration = Math.max(gen.duration(i, totalTargets, target), 0.001);
|
tweenData.duration = Math.max(gen.duration(i, totalTargets, target, this), 0.001);
|
||||||
tweenData.hold = gen.hold(i, totalTargets, target);
|
tweenData.hold = gen.hold(i, totalTargets, target, this);
|
||||||
tweenData.repeat = gen.repeat(i, totalTargets, target);
|
tweenData.repeat = gen.repeat(i, totalTargets, target, this);
|
||||||
tweenData.repeatDelay = gen.repeatDelay(i, totalTargets, target);
|
tweenData.repeatDelay = gen.repeatDelay(i, totalTargets, target, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.calcDuration();
|
this.calcDuration();
|
||||||
|
|
Loading…
Reference in a new issue