Skip to content

Commit 780a41b

Browse files
committed
Fix #7048. Added persist check on tween chains.
1 parent 09e786c commit 780a41b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/tweens/tween/TweenChain.js

+7
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,13 @@ var TweenChain = new Class({
394394
{
395395
if (this.isPendingRemove() || this.isDestroyed())
396396
{
397+
if (this.persist)
398+
{
399+
this.setFinishedState();
400+
401+
return false;
402+
}
403+
397404
return true;
398405
}
399406
else if (this.isFinished() || this.paused)

0 commit comments

Comments
 (0)