Commit de759b6
committed
Fixes a bug phaserjs#3651
Describe the changes below:
The tween animation was getting stuck when calling restart on it after being added.
It now checks to see if this.state === TWEEN_CONST.PENDING_ADD in the tween restart function
If true, sets this.seek(0) and this.parent.makeActive(this)
This fixes the issue that makes the tween stuck when restarting the new tween directly after adding a the new tween.
Updates to package.json and package-lock.json were undone from the last pull request.1 parent 6af861b commit de759b6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19045 | 19045 | | |
19046 | 19046 | | |
19047 | 19047 | | |
19048 | | - | |
| 19048 | + | |
19049 | 19049 | | |
19050 | 19050 | | |
19051 | 19051 | | |
| |||
0 commit comments