refactor(nodes): Replace DraggableCore with composable

This commit is contained in:
Braks
2022-04-11 11:30:10 +02:00
parent 8f2d94ae55
commit 342d0305a6
2 changed files with 28 additions and 25 deletions
@@ -121,6 +121,7 @@ const { scale, onDrag, onDragStart, onDragStop } = useDraggableCore(nodeElement,
grid: props.snapGrid,
cancel: `.${store.noDragClassName}`,
enableUserSelectHack: false,
scale: store.transform[2],
})
onMounted(() => {