结束命令时在清理模态框管理钟存在的执行函数

pull/88/head
Zoe 6 years ago
parent 42faf4229f
commit 2c2737f0c0

@ -165,7 +165,6 @@ export class ModalManage
app.m_Database.hm.StartCmd("draw");
await this.Callback();
commandMachine.CommandEnd("draw");
this.Callback = null;
}
Wait()
{
@ -231,4 +230,8 @@ export class ModalManage
this.m_Masking.style.zIndex = "0";
this.m_IsModal = false;
}
EndCmd()
{
this.Callback = null;
}
}

@ -26,6 +26,10 @@ export class BoardStore
{
await app.m_Editor.m_ModalManage.ExecCmd();
}
else
{
app.m_Editor.m_ModalManage.EndCmd();
}
}
}
SaveConfig()

Loading…
Cancel
Save