diff --git a/cocos2d/core/platform/CCView.js b/cocos2d/core/platform/CCView.js index d18ab85f8d..755c884638 100644 --- a/cocos2d/core/platform/CCView.js +++ b/cocos2d/core/platform/CCView.js @@ -324,7 +324,7 @@ var View = cc._Class.extend({ var h = __BrowserGetter.availHeight(cc.game.frame); var isLandscape = w >= h; - if (CC_EDITOR || !this._orientationChanging || !cc.sys.isMobile || + if (CC_EDITOR || !cc.sys.isMobile || (isLandscape && this._orientation & cc.macro.ORIENTATION_LANDSCAPE) || (!isLandscape && this._orientation & cc.macro.ORIENTATION_PORTRAIT)) { locFrameSize.width = w;