From f13afcb61276061871b30bce17a7877287df0b67 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Sat, 20 Jan 2024 09:56:43 +0800
Subject: [PATCH] 1
---
src/utils/plot/edit/Edit.js | 17 +++++------------
1 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/src/utils/plot/edit/Edit.js b/src/utils/plot/edit/Edit.js
index 41299f2..870bb04 100644
--- a/src/utils/plot/edit/Edit.js
+++ b/src/utils/plot/edit/Edit.js
@@ -93,11 +93,11 @@
}
/**
- *
- * @param pickedAnchor
- * @param position
- * @private
- */
+ *
+ * @param pickedAnchor
+ * @param position
+ * @private
+ */
_onEditStop ({ pickedAnchor, position }) {
this._unbindEvent()
this._viewer.curEditTool.deactivate()
@@ -133,13 +133,6 @@
this
)
this.curEditTool.off(PlotEventType.EDIT_STOP, this._onEditStop, this)
- }
-
- stop () {
- this._delegate &&
- this._viewer.scene.postProcessStages.remove(this._delegate)
- this._delegate = undefined
- return this
}
/**
--
Gitblit v1.9.3