From dac253cd7bfae1854bc9250b459b452de77fd080 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Fri, 2 Feb 2024 21:10:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E6=9D=BF=E8=87=AA=E5=B8=A6ui?= =?UTF-8?q?=E7=9A=84=E5=85=B3=E9=97=AD=E4=B8=8E=E6=96=B0=E6=8C=89=E9=94=AE?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=9A=84=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/libs/ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/libs/ui.js b/public/libs/ui.js index 1002e4e..40fa814 100644 --- a/public/libs/ui.js +++ b/public/libs/ui.js @@ -918,7 +918,9 @@ ui.prototype.closePanel = function () { this.clearUI(); core.maps.generateGroundPattern(); core.updateStatusBar(true); - core.unlockControl(); + setTimeout(() => { + core.unlockControl(); + }, 0); core.status.event.data = null; core.status.event.id = null; core.status.event.selection = null;