diff --git a/client/src/components/Workflow/Editor/Draggable.vue b/client/src/components/Workflow/Editor/Draggable.vue index 133c74a2c9f..a7858a792c1 100644 --- a/client/src/components/Workflow/Editor/Draggable.vue +++ b/client/src/components/Workflow/Editor/Draggable.vue @@ -23,32 +23,18 @@ export default { type: Object, required: false, }, - zoom: { - type: Number, - default: 1, - required: false, - }, }, data() { return { mouseDown: {}, - _localPosition: {}, }; }, computed: { draggableOptions() { return { - defaultPosition: null, mouseDown: this.stopPropagation, }; }, - localPosition() { - if (this.position) { - return this.position; - } else { - return this._localPosition; - } - }, }, methods: { onDragStart(e) { @@ -59,6 +45,7 @@ export default { console.log("stopDragging"); e.stopPropagation(); this.$emit("stopDragging"); + this.$emit("mouseup"); }, stopPropagation(e) { e.stopPropagation(); diff --git a/client/src/components/Workflow/Editor/Node.vue b/client/src/components/Workflow/Editor/Node.vue index ab0c8f72bbb..49677614a1d 100644 --- a/client/src/components/Workflow/Editor/Node.vue +++ b/client/src/components/Workflow/Editor/Node.vue @@ -2,7 +2,7 @@