diff --git a/src/pixi/utils/Utils.js b/src/pixi/utils/Utils.js index d7e2a30..a496754 100644 --- a/src/pixi/utils/Utils.js +++ b/src/pixi/utils/Utils.js @@ -29,6 +29,7 @@ clearTimeout(id); }; }()); +window.requestAnimFrame = window.requestAnimationFrame; function HEXtoRGB(hex) { return [(hex >> 16 & 0xFF) / 255, ( hex >> 8 & 0xFF) / 255, (hex & 0xFF)/ 255];