fix(map): 强制开启信息弹窗的关闭按钮
移除技能卡预览模式下关闭按钮的条件显示逻辑,始终显示关闭节点
This commit is contained in:
@@ -275,8 +275,7 @@ export class HInfoComp extends CCComp {
|
||||
this.previewPoolLv = poolLv;
|
||||
this.isSkillCard = isSkillCard;
|
||||
if (this.sell_node) this.sell_node.active = false;
|
||||
// 如果是技能卡预览模式(即点击了战场上的技能),允许关闭弹窗
|
||||
if (this.close_node) this.close_node.active = isSkillCard;
|
||||
if (this.close_node) this.close_node.active = true;
|
||||
this.cacheLabels();
|
||||
this.refresh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user