From b12270be66e44000353ba03b89e9474e30e9bfff Mon Sep 17 00:00:00 2001 From: panFD Date: Sat, 13 Jun 2026 17:57:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(map):=20=E5=BC=BA=E5=88=B6=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E4=BF=A1=E6=81=AF=E5=BC=B9=E7=AA=97=E7=9A=84=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除技能卡预览模式下关闭按钮的条件显示逻辑,始终显示关闭节点 --- assets/script/game/map/HInfoComp.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/script/game/map/HInfoComp.ts b/assets/script/game/map/HInfoComp.ts index 4d5cb639..12452162 100644 --- a/assets/script/game/map/HInfoComp.ts +++ b/assets/script/game/map/HInfoComp.ts @@ -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(); }