Fix #6773 Tweens in a chain fire onActive twice per chain iteration

This commit is contained in:
zekechan 2024-07-17 10:55:58 +08:00
parent 0017e7bcf7
commit 112ca0dbf1

View file

@ -89,8 +89,6 @@ var TweenChain = new Class({
this.setActiveState();
}
this.dispatchEvent(Events.TWEEN_ACTIVE, 'onActive');
return this;
},
@ -490,8 +488,6 @@ var TweenChain = new Class({
this.currentTween = this.data[index];
this.currentTween.setActiveState();
this.currentTween.dispatchEvent(Events.TWEEN_ACTIVE, 'onActive');
},
/**