chore(core): cleanup unused event arg (#1475)

chore(core): cleanup unused `event` arg
This commit is contained in:
Braks
2024-06-13 00:04:51 +02:00
parent a647472db4
commit 850f54aebd
3 changed files with 3 additions and 9 deletions
+1 -2
View File
@@ -134,7 +134,6 @@ export function useHandle({
x: x - containerBounds.left,
y: y - containerBounds.top,
},
event,
)
emits.connectStart({ event, nodeId: toValue(nodeId), handleId: toValue(handleId), handleType })
@@ -256,7 +255,7 @@ export function useHandle({
if (!connectionClickStartHandle.value) {
emits.clickConnectStart({ event, nodeId: toValue(nodeId), handleId: toValue(handleId) })
startConnection({ nodeId: toValue(nodeId), type: toValue(type), handleId: toValue(handleId) }, undefined, event, true)
startConnection({ nodeId: toValue(nodeId), type: toValue(type), handleId: toValue(handleId) }, undefined, true)
} else {
let isValidConnectionHandler = toValue(isValidConnection) || isValidConnectionProp.value || alwaysValid