phetsims / projectile-motion

"Projectile Motion" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
15 stars 13 forks source link

TimeSpeedProperty valid values don't match Time Speed radio buttons #232

Closed Denz1994 closed 3 years ago

Denz1994 commented 3 years ago

Discovered during phetsims/scenery-phet#607:

In the studio view of Projectile Motion, searching for "TimeSpeedProperty" shows Valid Values: Fast, Normal, Slow. However, the radio buttons are limited to only "Normal" and "Slow". Selecting the "Fast" option in the studio view will deselect both radio buttons in the sim view and doesn't seem to change the sim speed.

I would expect the "Fast" option to not be present in the studio view as a valid value. Assigning responsible dev to investigate.

See this comment under the "Studio" content for more context and a potential solution.

jbphet commented 3 years ago

Good observation @Denz1994. I've remedied the situation by using the validValues option. Closing.