fix: 调整角色控制器UI元素位置并禁用卡牌锁定UI
- 注释掉卡牌锁定/解锁按钮的显示逻辑,暂时禁用该功能 - 调整角色控制器界面中多个UI元素的位置坐标,优化布局
This commit is contained in:
@@ -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 渲染卡面文字与图标 */
|
||||
|
||||
Reference in New Issue
Block a user