Reset color if start node, if necessary
This commit is contained in:
@ -271,7 +271,10 @@ class GruphiFrame extends JFrame {
|
||||
}
|
||||
}
|
||||
private void clearPaths() {
|
||||
if (startNode != null) {
|
||||
startNode.color = Node.COLOR;
|
||||
startNode = null;
|
||||
}
|
||||
paths = null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user