Merge pull request #1106 from pandamicro/v1.2

Fix issue in orientationChange callback
This commit is contained in:
pandamicro
2016-09-07 19:04:49 +08:00
committed by GitHub
+3 -3
View File
@@ -214,9 +214,9 @@ var View = cc._Class.extend({
},
_orientationChange: function () {
this._orientationChanging = true;
this._resizeEvent();
this._orientationChanging = false;
cc.view._orientationChanging = true;
cc.view._resizeEvent();
cc.view._orientationChanging = false;
},
/**