Skip to content

Commit

Permalink
fixed noAV extra controls #541
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePlekan committed Jun 9, 2023
1 parent 75ef2dd commit d5b654e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HighwayDataExaminer/hdxcallbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,13 @@ function algOptionsDonePressed() {

// set status depending on whether an AV was selected
if (hdxAV.currentAV.value == hdxNoAV.value) {
document.getElementById("topControlPanelPseudo").style.display = "none";
document.getElementById("speedChanger").style.display = "none";
hdxAV.setStatus(hdxStates.GRAPH_LOADED);
}
else {
document.getElementById("topControlPanelPseudo").style.display = "";
document.getElementById("speedChanger").style.display = "";
hdxAV.setStatus(hdxStates.AV_SELECTED);
// set all waypoints and connections to undiscovered to start
initWaypointsAndConnections(true, true,
Expand Down

0 comments on commit d5b654e

Please sign in to comment.