Skip to content

Commit

Permalink
fixed enterFrame event error
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymovin committed Mar 14, 2021
1 parent 39114ee commit c2e3877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/js/animation/AnimationItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ AnimationItem.prototype.gotoFrame = function () {
};

AnimationItem.prototype.renderFrame = function () {
if (this.isLoaded === false) {
if (this.isLoaded === false || !this.renderer) {
return;
}
try {
Expand Down

0 comments on commit c2e3877

Please sign in to comment.