phetsims / neuron

"Neuron" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
1 stars 3 forks source link

play/pause button not reset if paused when Reset All button is pressed #87

Closed jbphet closed 9 years ago

jbphet commented 9 years ago

Title line pretty much describes the issue.

jbphet commented 9 years ago

I fixed this by removing an intermediary property in NeuronScreenView, see the commit for details. I'm not sure why this intermediary property existed, and have done a fair amount of testing to make sure that its removal didn't break anything (though this testing did reveal some other issues). Still, I'll need to keep an eye out for any odd behaviors related to play, pause, and reset.

Closing, since I believe that this is addressed.