fix(core): emit node drag-start, drag and drag-end events on selection drag (#1913)
* fix(core): emit node drag-start, drag and drag-end events on selection drag Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> * chore(changeset): add --------- Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -13,12 +13,15 @@ const dragging = useDrag({
|
||||
el,
|
||||
onStart(args) {
|
||||
emits.selectionDragStart(args)
|
||||
emits.nodeDragStart(args)
|
||||
},
|
||||
onDrag(args) {
|
||||
emits.selectionDrag(args)
|
||||
emits.nodeDrag(args)
|
||||
},
|
||||
onStop(args) {
|
||||
emits.selectionDragStop(args)
|
||||
emits.nodeDragStop(args)
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user