cjpappas / MacSim

A repository containing an IDE to test and develop algorithms for the Virtual RobotX Competition
2 stars 1 forks source link

Update button logic to disable/enable use where appropriate #36

Closed samanthakuhn closed 2 years ago

samanthakuhn commented 2 years ago

If simulation is running on page load start == disabled, stop == enabled If simulation is not running start == enabled, stop == disabled If simulation is not ready (hasn't started) execute == disabled

samanthakuhn commented 2 years ago

Updated button logic to disable stop and execute where simulation is not running and disable start when simulation is already running. Now working with sweet alerts.