style: 格式化代码对齐与缩进
统一调整所有枚举、对象的代码格式,修正缩进和空格规范,移除冗余代码注释
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user