Reset color if start node, if necessary

This commit is contained in:
2021-09-05 21:18:33 +02:00
parent 89d6249dcb
commit 7e44d0fb3f

View File

@ -271,7 +271,10 @@ class GruphiFrame extends JFrame {
}
}
private void clearPaths() {
if (startNode != null) {
startNode.color = Node.COLOR;
startNode = null;
}
paths = null;
}