refactor(core): pass drag handle to useDrag

This commit is contained in:
braks
2023-05-25 20:48:26 +02:00
committed by Braks
parent 2bac3d5afc
commit 20a9521cac
2 changed files with 6 additions and 2 deletions
@@ -62,6 +62,7 @@ const NodeWrapper = defineComponent({
el: nodeElement,
disabled: () => !props.draggable,
selectable: () => props.selectable,
dragHandle: () => node.value.dragHandle,
onStart(args) {
emit.dragStart({ ...args, intersections: getIntersectingNodes(node.value) })
},