We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b361b6 commit 66868f7Copy full SHA for 66868f7
cocos2d/platform/CCApplication.js
@@ -235,7 +235,7 @@ cc.Application = cc.Class.extend(/** @lends cc.Application# */{
235
return 0;
236
}
237
// TODO, need to be fixed.
238
- if (window.requestAnimFrame) {
+ if (window.requestAnimFrame && this._animationInterval == 1/60) {
239
var callback = function () {
240
cc.Director.getInstance().mainLoop();
241
window.requestAnimFrame(callback);
0 commit comments