1
0
mirror of https://github.com/Siccity/xNodeGroups.git synced 2025-12-20 01:06:02 +08:00

Merge pull request #6 from RomanZanevski/patch-1

Connection point fix
This commit is contained in:
Thor Brigsted 2022-03-25 08:18:28 +01:00 committed by GitHub
commit cde203ce22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ namespace XNode.NodeGroups {
List<Node> result = new List<Node>();
foreach (Node node in graph.nodes) {
if (node == this) continue;
if (node == null) continue;
if (node.position.x < this.position.x) continue;
if (node.position.y < this.position.y) continue;
if (node.position.x > this.position.x + width) continue;
@ -28,4 +29,4 @@ namespace XNode.NodeGroups {
return result;
}
}
}
}