refactor(core): use all nodes for handle lookup
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user