refactor(onConnectStart): also pass handleId closes #718
This commit is contained in:
@@ -70,7 +70,7 @@ function onMouseDown(
|
||||
setConnectionNodeId({ connectionNodeId: nodeId, connectionHandleId: handleId, connectionHandleType: handleType });
|
||||
|
||||
if (onConnectStart) {
|
||||
onConnectStart(event, { nodeId, handleType });
|
||||
onConnectStart(event, { nodeId, handleId, handleType });
|
||||
}
|
||||
|
||||
function resetRecentHandle(): void {
|
||||
|
||||
Reference in New Issue
Block a user