style: 格式化代码对齐与缩进

统一调整所有枚举、对象的代码格式,修正缩进和空格规范,移除冗余代码注释
This commit is contained in:
pan
2026-05-29 15:55:52 +08:00
parent e7230db7ca
commit d45f370682
2 changed files with 53 additions and 53 deletions

View File

@@ -772,12 +772,12 @@ export class MissionCardComp extends CCComp {
label.string = `lv.${lv}`;
}
}
const widget = this.pool_lv_node.getComponent(Widget);
if (widget) widget.updateAlignment();
this.pool_lv_node.children.forEach(child => {
const childWidget = child.getComponent(Widget);
if (childWidget) childWidget.updateAlignment();
});
// const widget = this.pool_lv_node.getComponent(Widget);
// if (widget) widget.updateAlignment();
// this.pool_lv_node.children.forEach(child => {
// const childWidget = child.getComponent(Widget);
// if (childWidget) childWidget.updateAlignment();
// });
const peak = 1.2
this.playHeroNumNodePop(this.pool_lv_node, peak);
}