fix: 调整角色控制器UI元素位置并禁用卡牌锁定UI

- 注释掉卡牌锁定/解锁按钮的显示逻辑,暂时禁用该功能
- 调整角色控制器界面中多个UI元素的位置坐标,优化布局
This commit is contained in:
walkpan
2026-03-28 15:00:40 +08:00
parent 3faa5862b7
commit 105082d009
2 changed files with 19 additions and 19 deletions

View File

@@ -345,8 +345,8 @@ export class CardComp extends CCComp {
/** 根据锁态刷新 Lock / unLock 显示Lock=可点击上锁unLock=可点击解锁) */
private updateLockUI() {
if (this.Lock) this.Lock.active = !this.isLocked;
if (this.unLock) this.unLock.active = this.isLocked;
// if (this.Lock) this.Lock.active = !this.isLocked;
// if (this.unLock) this.unLock.active = this.isLocked;
}
/** 根据当前 cardData 渲染卡面文字与图标 */