Added a limit for the range on 1-1000 for the size box
Added an error message if user input exceeds 1000
Added functionality that does not allow the user to have less than 1 digit in the text box
Why (resolves #184)
Addressed the concern of the difficulty in typing a new size for the bars by implementing cursor functionality
Added functionality that does not allow the user to have less than 1 digit so that the program does not crash (as there will never be no input in the size box)
How
Added an error message using the pygame display function; set a timer for the error message to ensure that the viewer can quickly change their input
Added cursor definitions in the class and updated the draw function
Changes
Why (resolves #184)
How
draw
functionTesting nil
Screenshots
https://github.com/LucasPilla/Sorting-Algorithms-Visualizer/assets/124110177/4c6ba633-6c83-4035-9eee-49d0a103de91