From a6081670e46d81b8a0de6efc6ff7e7736f684cbe Mon Sep 17 00:00:00 2001 From: Yuan Date: Mon, 4 Sep 2023 16:52:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E7=90=86=E5=8C=BA=E6=AE=B5=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E6=8B=86=E5=88=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/section/SectionDrawAssistant.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/section/SectionDrawAssistant.ts b/src/graphics/section/SectionDrawAssistant.ts index 6d63421..dda4de7 100644 --- a/src/graphics/section/SectionDrawAssistant.ts +++ b/src/graphics/section/SectionDrawAssistant.ts @@ -418,12 +418,12 @@ export class SectionPointEditPlugin extends GraphicInteractionPlugin
{ g.labelGraphic.draggable = true; g.on('selected', this.onSelected, this); g.on('unselected', this.onUnselected, this); - g.on('_rightclick', this.onContextMenu, this); + // g.on('_rightclick', this.onContextMenu, this); } unbind(g: Section): void { g.off('selected', this.onSelected, this); g.off('unselected', this.onUnselected, this); - g.off('_rightclick', this.onContextMenu, this); + // g.off('_rightclick', this.onContextMenu, this); } onContextMenu(e: FederatedMouseEvent) {