优化:避免在控制相机的时候响应Esc事件

pull/819/MERGE
ChenX 5 years ago
parent d8275815e8
commit 70f2423e74

@ -199,6 +199,9 @@ export class SelectControls implements EditorService
{
if (e.keyCode == KeyBoard.Escape)
{
if (this._Viewer.IsLookSelect === true)
return;
this._Editor.Prompt("取消");
this.Cancel();
}

Loading…
Cancel
Save