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