Skip to content

Commit 473efb5

Browse files
Resize event on browser not working
1 parent 87b1786 commit 473efb5

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)