修复因fastlist component丢失问题
This commit is contained in:
@@ -232,7 +232,7 @@ module es {
|
||||
}
|
||||
|
||||
protected async update() {
|
||||
this.startDebugUpdate();
|
||||
// this.startDebugUpdate();
|
||||
|
||||
// 更新我们所有的系统管理器
|
||||
Time.update(egret.getTimer());
|
||||
@@ -266,7 +266,7 @@ module es {
|
||||
}
|
||||
}
|
||||
|
||||
this.endDebugUpdate();
|
||||
// this.endDebugUpdate();
|
||||
|
||||
await this.draw();
|
||||
}
|
||||
|
||||
@@ -75,6 +75,7 @@ module es {
|
||||
for (let i = 0; i < this._components.length; i++) {
|
||||
let component = this._components.buffer[i];
|
||||
|
||||
if (!component) continue;
|
||||
// 处理渲染层列表
|
||||
if (component instanceof RenderableComponent) {
|
||||
if (component.displayObject.parent)
|
||||
@@ -161,6 +162,7 @@ module es {
|
||||
}
|
||||
|
||||
public handleRemove(component: Component) {
|
||||
if (!component) return;
|
||||
// 处理渲染层列表
|
||||
if (component instanceof RenderableComponent) {
|
||||
if (component.displayObject.parent)
|
||||
|
||||
Reference in New Issue
Block a user