hcp-uw/algo-visualizer

Edit/remove build button

Opened this issue · 0 comments

The build button is unintuitive in terms of how/when to use it. For example, a new user may not realized that every time they change the value to search for, they need to press the build button before they click play so that the search value algorithm is properly updated.
One possible fix would be to remove the build button entirely but keep the method that performs the build operation. Whenever the user input text box is manipulated, run the build method so that the search value is always updated whenever the user wants to search for a different value.
Another fix could be to always run the build method before running the play method when the play button is clicked so that the play method always runs with the most recent search value inputted.