pause animation on last frame (#4381)

This commit is contained in:
Leslie Leigh
2019-05-07 14:13:30 +08:00
committed by Weiliang Wang
parent 594f151f16
commit 7444084e8c
-1
View File
@@ -505,7 +505,6 @@ export class AnimationState extends Playable {
}
protected onStop () {
this.setTime(0);
if (!this.isPaused) {
cc.director.getAnimationManager().removeAnimation(this);
}