fixed connection snapping & updated internal easy-connect example

This commit is contained in:
peterkogo
2024-08-06 10:55:28 +02:00
parent 0d07f9fb0e
commit 39be7872f9
5 changed files with 28 additions and 23 deletions
+3 -1
View File
@@ -175,7 +175,9 @@ function onPointerDown(
newConnection.toHandle &&
previousConnection.toHandle.type === newConnection.toHandle.type &&
previousConnection.toHandle.nodeId === newConnection.toHandle.nodeId &&
previousConnection.toHandle.id === newConnection.toHandle.id
previousConnection.toHandle.id === newConnection.toHandle.id &&
previousConnection.to.x === newConnection.to.x &&
previousConnection.to.y === newConnection.to.y
) {
return;
}