开发:避免提示命令执行中

pull/1482/head
ChenX 3 years ago
parent afd133c99b
commit 3a22f4153d

@ -208,6 +208,8 @@ export class ApplicationService
}
else if (e.code === KeyCode.KeyC)
{
if (CommandState.CommandIng) return;//避免提示命令执行中,因为我们按住三个按键的时候,会重复出现命令事件
if ((app.Editor.KeyCtrl.KeyIsDown(KeyCode.ShiftLeft)))
commandMachine.ExecCommand(CommandNames.CopyBase);
else

Loading…
Cancel
Save