|
|
@ -207,16 +207,19 @@ export class ApplicationService
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (e.code === KeyCode.KeyF)
|
|
|
|
if (e.code === KeyCode.KeyF)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (CommandState.CommandIng) return;
|
|
|
|
commandMachine.ExecCommand(CommandNames.ZoomObject);
|
|
|
|
commandMachine.ExecCommand(CommandNames.ZoomObject);
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (e.code === KeyCode.KeyD)
|
|
|
|
else if (e.code === KeyCode.KeyD)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (CommandState.CommandIng) return;
|
|
|
|
commandMachine.ExecCommand(CommandNames.EditDrilEdgeData);
|
|
|
|
commandMachine.ExecCommand(CommandNames.EditDrilEdgeData);
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (e.code === KeyCode.KeyS)
|
|
|
|
else if (e.code === KeyCode.KeyS)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (CommandState.CommandIng) return;
|
|
|
|
commandMachine.ExecCommand(CommandNames.EditSealEdgeData);
|
|
|
|
commandMachine.ExecCommand(CommandNames.EditSealEdgeData);
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
}
|
|
|
|
}
|
|
|
|