修复stage的宽高错误
This commit is contained in:
@@ -1132,7 +1132,7 @@ var Scene = (function (_super) {
|
||||
Physics.reset();
|
||||
if (this.entityProcessors)
|
||||
this.entityProcessors.begin();
|
||||
this.camera.onSceneSizeChanged(this.stage.width, this.stage.height);
|
||||
this.camera.onSceneSizeChanged(this.stage.stageWidth, this.stage.stageHeight);
|
||||
};
|
||||
Scene.prototype.onActive = function () {
|
||||
};
|
||||
|
||||
2
source/bin/framework.min.js
vendored
2
source/bin/framework.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -110,7 +110,7 @@ class Scene extends egret.DisplayObjectContainer {
|
||||
if (this.entityProcessors)
|
||||
this.entityProcessors.begin();
|
||||
|
||||
this.camera.onSceneSizeChanged(this.stage.width, this.stage.height);
|
||||
this.camera.onSceneSizeChanged(this.stage.stageWidth, this.stage.stageHeight);
|
||||
}
|
||||
|
||||
/** 场景激活 */
|
||||
|
||||
Reference in New Issue
Block a user