commit | c2e38774d21b81448a69fcd68c94a4d48bc5b20d | [log] [tgz] |
---|---|---|
author | airnan <hernantorrisi@gmail.com> | Sat Mar 13 21:31:50 2021 -0500 |
committer | airnan <hernantorrisi@gmail.com> | Sat Mar 13 21:31:50 2021 -0500 |
tree | 3d7c74381d6332d3e27c63f0f256148b53d1172f | |
parent | 39114eeceb1fbe2eb22e1ad577c770b1b2281fc6 [diff] |
fixed enterFrame event error
diff --git a/player/js/animation/AnimationItem.js b/player/js/animation/AnimationItem.js index a9af1ff..c3e0ef7 100644 --- a/player/js/animation/AnimationItem.js +++ b/player/js/animation/AnimationItem.js
@@ -334,7 +334,7 @@ }; AnimationItem.prototype.renderFrame = function () { - if (this.isLoaded === false) { + if (this.isLoaded === false || !this.renderer) { return; } try {