From 2841eda4d2cd12d86cf3339d4f31f55a2c972d4b Mon Sep 17 00:00:00 2001 From: dgflash Date: Fri, 1 Nov 2024 16:19:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=B9=E5=87=BA=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E7=AA=97=E5=8F=A3=E7=9A=84=E6=97=B6=EF=BC=8C=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E5=85=B6=E4=B8=AD=E4=B8=80=E4=B8=AA=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E9=81=AE=E6=8C=A1=E5=B1=82=E8=A2=AB=E5=85=B3=E9=97=AD=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/core/gui/layer/LayerPopup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/core/gui/layer/LayerPopup.ts b/assets/core/gui/layer/LayerPopup.ts index c17d719..b2624dd 100644 --- a/assets/core/gui/layer/LayerPopup.ts +++ b/assets/core/gui/layer/LayerPopup.ts @@ -54,9 +54,9 @@ export class LayerPopUp extends LayerUI { // 所有弹窗关闭后,关闭事件阻挡功能 if (this.ui_nodes.size == 0) { this.black.enabled = false; + this.closeVacancyRemove(); + this.closeMask(); } - this.closeVacancyRemove(); - this.closeMask(); } /** 关闭遮罩 */