From 2700ff56e45877eacd219bc122f9b5fe9652f5c2 Mon Sep 17 00:00:00 2001 From: ChenX Date: Thu, 20 Jun 2019 16:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E7=A6=81GetPoint=20=E5=9C=A8=E7=A9=BA?= =?UTF-8?q?Keyword=E6=97=B6=E6=97=A0=E6=B3=95=E5=8F=B3=E9=94=AE=E5=91=BC?= =?UTF-8?q?=E5=87=BA=E4=B8=8A=E4=B8=8B=E6=96=87=E8=8F=9C=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Editor/GetPointServices.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Editor/GetPointServices.ts b/src/Editor/GetPointServices.ts index cf2a59ffb..f9c60bd42 100644 --- a/src/Editor/GetPointServices.ts +++ b/src/Editor/GetPointServices.ts @@ -36,9 +36,9 @@ export class GetPointServices implements EditorService } else if (e.button === MouseKey.Right) { - if (this._prompt.KeyWordList === undefined) - DynamicInputManage.GetManage().HandleInputEvent(""); - else if (!app.Editor.KeyCtrl.KeyIsDown(KeyCode.ControlLeft)) + // if (this._prompt.KeyWordList === undefined) + // DynamicInputManage.GetManage().HandleInputEvent(""); + if (!app.Editor.KeyCtrl.KeyIsDown(KeyCode.ControlLeft)) this.handleRightClick(this._prompt.KeyWordList); return true; } @@ -93,7 +93,7 @@ export class GetPointServices implements EditorService } //处理右键点击事件 - private async handleRightClick(keywords: KeyWord[]) + private async handleRightClick(keywords: KeyWord[] = []) { let ks: KeyWord[] = [ { key: "ENSURE", msg: `确认` },