mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-02 12:56:16 +08:00
GraphView: Properly cache the neighbours
Stupid mistake
This commit is contained in:
@ -135,7 +135,7 @@ class Graph extends ChangeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
_neighbours[n.label] = _nodes;
|
||||
_neighbours[n.label] = nodes;
|
||||
return nodes.union(computeOverlappingNodes(n)).toList();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user