chore: update revue-draggable to latest version

fix: selection not draggable after creation selection (stop event propagation)
* naming collision with eventlistener and callback on draggable component (everything being called 2x)
This commit is contained in:
Braks
2021-07-23 14:08:39 +02:00
parent 86ead92839
commit 7eb7cb1dc3
4 changed files with 14 additions and 18 deletions
+1 -3
View File
@@ -162,14 +162,12 @@ export default (NodeComponent: DefineComponent<WrapNodeProps>) => {
}
]);
const scale = computed(() => store.transform[2] || 1);
return () => (
<DraggableCore
start={onDragStart}
move={onDrag}
stop={onDragStop}
scale={scale.value}
scale={store.transform[2]}
disabled={!props.isDraggable}
cancel=".nodrag"
grid={grid.value}