|
|
|
@ -10,6 +10,7 @@ import { Editor } from '../../../Editor/Editor';
|
|
|
|
|
import { PointPick } from '../../../Editor/PointPick';
|
|
|
|
|
import { LightModal } from './LightModal';
|
|
|
|
|
import './Modal.less';
|
|
|
|
|
import { Sleep } from '../../../Common/Utils';
|
|
|
|
|
|
|
|
|
|
export enum ModalPosition
|
|
|
|
|
{
|
|
|
|
@ -159,7 +160,11 @@ export class ModalManage
|
|
|
|
|
if (app.m_Editor.m_CommandStore.isCmdIng)
|
|
|
|
|
{
|
|
|
|
|
app.m_Editor.Canel();
|
|
|
|
|
await Sleep(10);
|
|
|
|
|
}
|
|
|
|
|
if (app.m_Editor.m_CommandStore.isCmdIng)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
app.m_Editor.m_CommandStore.isCmdIng = true;
|
|
|
|
|
app.m_Database.hm.StartCmd("draw");
|
|
|
|
|
await this.Callback();
|
|
|
|
|