phetsims / fourier-making-waves

"Fourier: Making Waves" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
6 stars 3 forks source link

Reset-all on Wave Packet screen doesn't restore amplitude/sum accordion box collapse #172

Closed jonathanolson closed 3 years ago

jonathanolson commented 3 years ago

Starting configuration on Wave Packet screen: image

Reset-all won't take this configuration back to the starting configuration: image

To reproduce:

  1. Load sim, Wave Packet screen
  2. Collapse Amplitude (top) and Sum (bottom) accordion boxes
  3. Press reset-all.

Expected: accordion boxes expand again Actual: nothing changes

pixelzoom commented 3 years ago

Thanks. I overrode reset and forgot to call super.reset. Fixed in the above commit. Closing.