Skip to content

Commit 1e786a9

Browse files
committed
chore(core): cleanup
1 parent e42897e commit 1e786a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/core/src/utils/handle.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ export function isValidHandle(
126126
// because it could be that the center of another handle is closer to the mouse pointer than the handle below the cursor
127127
const handleToCheck = handleBelow?.classList.contains('vue-flow__handle') ? handleBelow : handleDomNode
128128

129-
const result = defaultValidHandleResult()
129+
const result = {
130+
...defaultValidHandleResult(),
131+
handleDomNode: handleToCheck,
132+
}
130133

131134
if (handleToCheck) {
132135
const handleType = getHandleType(undefined, handleToCheck)

0 commit comments

Comments
 (0)