refactor(core): use all nodes for handle lookup

This commit is contained in:
braks
2024-02-15 17:46:21 +01:00
committed by Braks
parent 300c742352
commit dda5b58211
+1 -2
View File
@@ -57,7 +57,6 @@ export function useHandle({
autoPanOnConnect, autoPanOnConnect,
findNode, findNode,
panBy, panBy,
getNodes,
startConnection, startConnection,
updateConnection, updateConnection,
endConnection, endConnection,
@@ -107,7 +106,7 @@ export function useHandle({
let autoPanStarted = false let autoPanStarted = false
const handleLookup = getHandleLookup({ const handleLookup = getHandleLookup({
nodes: getNodes.value, nodes: nodes.value,
nodeId: toValue(nodeId), nodeId: toValue(nodeId),
handleId: toValue(handleId), handleId: toValue(handleId),
handleType, handleType,