mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge pull request #1106 from pandamicro/v1.2
Fix issue in orientationChange callback
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user