LucasPilla / Sorting-Algorithms-Visualizer

Program made with Python and Pygame module for visualizing sorting algorithms
MIT License
426 stars 164 forks source link

Fixes issue #187 #189

Closed TStephensCr closed 5 months ago

TStephensCr commented 7 months ago

Fixes the first half of issue #187, given the other half seemed already resolved. Simply added a condition for updating the play/pause and algorithm buttons. Couldn't do the same on the quantity box and the slider without breaking them, but this seems good to me.

I saw @chenrbin asked to resolve this two months ago, i hope they don't mind i went ahead and gave it a try.