update(edges): Add edge as param to edgeupdateend event

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent 7916b20a99
commit 929a6e637b
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -153,10 +153,7 @@ export default (store = useStore()) =>
store.hooks.connectEnd.trigger(event)
if (elementEdgeUpdaterType) {
store.hooks.edgeUpdateEnd.trigger(event)
onEdgeUpdateEnd?.()
}
if (elementEdgeUpdaterType) onEdgeUpdateEnd?.()
resetRecentHandle(recentHoveredHandle)
store.setConnectionNodeId({ connectionNodeId: undefined, connectionHandleId: undefined, connectionHandleType: undefined })