ui修改
This commit is contained in:
@@ -349,7 +349,8 @@ export class GirlDetailPanel extends li_BaseView {
|
||||
}
|
||||
|
||||
returnBtn() {
|
||||
NavigationManager.Instance.switchToPanel(PanelType.THEME);
|
||||
// GirlDetailPanel现在是subpanel,关闭自己即可
|
||||
NavigationManager.Instance.closeSubPanel(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -445,9 +446,9 @@ export class GirlDetailPanel extends li_BaseView {
|
||||
}
|
||||
|
||||
// 回收所有使用中的节点到对象池
|
||||
for (let i = this.imgsLayout.children.length - 1; i >= 0; i--) {
|
||||
DetailImageItemPool.Instance.put(this.imgsLayout.children[i]);
|
||||
}
|
||||
// for (let i = this.imgsLayout.children.length - 1; i >= 0; i--) {
|
||||
// DetailImageItemPool.Instance.put(this.imgsLayout.children[i]);
|
||||
// }
|
||||
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user