Skip to content

Commit

Permalink
fix: no autoplay when set animatorController after enable (#1843)
Browse files Browse the repository at this point in the history
* fix: no autoplay when set animatorController after enable
  • Loading branch information
luzhuang authored Oct 31, 2023
1 parent 50eb31b commit b8514ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/animation/Animator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class Animator extends Component {
speed: number = 1.0;

/** @internal */
_playFrameCount: number;
_playFrameCount: number = -1;
/** @internal */
_onUpdateIndex: number = -1;

Expand Down

0 comments on commit b8514ba

Please sign in to comment.