From efc80c181fbbc5249effc104007546fc46c0a78f Mon Sep 17 00:00:00 2001 From: Martin Laguna Date: Thu, 20 Jul 2023 12:19:05 -0400 Subject: [PATCH] Elements are now placed when switching from bottom controls to explorer --- src/mixins/clickAndDrop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mixins/clickAndDrop.js b/src/mixins/clickAndDrop.js index 0ec2e391a..0fd27d4ee 100644 --- a/src/mixins/clickAndDrop.js +++ b/src/mixins/clickAndDrop.js @@ -86,6 +86,7 @@ export default { this.yOffset = event.clientY - sourceElement.getBoundingClientRect().top; }, deselect() { + window.ProcessMaker.EventBus.$off('custom-pointerclick'); document.removeEventListener('mousemove', this.setDraggingPosition); if (this.movedElement) { document.body.removeChild(this.movedElement);