fix: 调整英雄列表组件调试模式与布局

1. 将CardLiteComp的debugMode默认值改为false
2. 修复heros预制体的Widget对齐参数与位置
3. 优化HerosListComp的日志调试开关,新增卡片列表内容高度自适应逻辑
This commit is contained in:
panw
2026-05-27 15:35:59 +08:00
parent 2f27bb7035
commit f0c5b423d6
3 changed files with 35 additions and 13 deletions

View File

@@ -39,7 +39,7 @@ const { ccclass, property } = _decorator;
@ccclass('CardLiteComp')
@ecs.register('CardLiteComp', false)
export class CardLiteComp extends CCComp {
private debugMode: boolean = true;
private debugMode: boolean = false;
// ======================== 编辑器绑定节点 ========================