Skip to content

Commit 7d3f9ae

Browse files
authored
Merge pull request #3533 from ricardopetrere/resize-on-browser
Window resize event on browser not working
2 parents 87b1786 + 473efb5 commit 7d3f9ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: cocos2d/core/platform/CCEGLView.js

+2
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ cc.EGLView = cc.Class.extend(/** @lends cc.view# */{
187187

188188
if (sys.isMobile) {
189189
window.addEventListener('orientationchange', this._orientationChange);
190+
} else {
191+
this._orientationChanging = false;
190192
}
191193
},
192194

0 commit comments

Comments
 (0)