mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix node activation (but of a hack?)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<draggable
|
||||
:draggable-options="draggableOptions"
|
||||
@start="onDragStart"
|
||||
@move="move"
|
||||
:stop="stopPropagation"
|
||||
:start="stopPropagation"
|
||||
@@ -49,6 +50,10 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
onDragStart(e) {
|
||||
console.log("mousedown", e);
|
||||
this.$emit("mousedown", e);
|
||||
},
|
||||
stopPropagation(e) {
|
||||
e.stopPropagation();
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<draggable-wrapper
|
||||
:position="step.position || defaultPosition"
|
||||
@updatePosition="onUpdatePosition"
|
||||
@click="makeActive"
|
||||
@mousedown="makeActive"
|
||||
@move="onMove"
|
||||
:id="idString"
|
||||
:name="name"
|
||||
|
||||
Reference in New Issue
Block a user