fix: 样板自带ui的关闭与新按键系统的冲突

This commit is contained in:
unanmed 2024-02-02 21:10:30 +08:00
parent 6c8104e39e
commit dac253cd7b

View File

@ -918,7 +918,9 @@ ui.prototype.closePanel = function () {
this.clearUI(); this.clearUI();
core.maps.generateGroundPattern(); core.maps.generateGroundPattern();
core.updateStatusBar(true); core.updateStatusBar(true);
setTimeout(() => {
core.unlockControl(); core.unlockControl();
}, 0);
core.status.event.data = null; core.status.event.data = null;
core.status.event.id = null; core.status.event.id = null;
core.status.event.selection = null; core.status.event.selection = null;