mirror of
https://github.com/Siccity/xNodeGroups.git
synced 2025-12-20 01:06:02 +08:00
commit
cde203ce22
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user