Use defaultTemperatureUnits
instead of defaultCelsius
and add control to the Options dialog
#361
Labels
defaultTemperatureUnits
instead of defaultCelsius
and add control to the Options dialog
#361
In #216 we created the
defaultCelsius
query parameter to set the default temperature units to Celsius. This query parameter has never been shared with users in the Teacher Tips or with PhET-iO clients in phet-io-guide.md.In greenhouse-effect we created a similar query parameter
defaultTemperatureUnits
that takes values ofF
,C
, andK
, see phetsims/greenhouse-effect#186. This approach is preferable because we now have validation of query parameter values. This pattern also translates better into a user-facing control in the Options Dialog.Next time this simulation is published off of master let's make these changes @jbphet:
defaultCelsius
in favor ofdefaultTemperatureUnits
This applies to both SOM and SOMB.
The text was updated successfully, but these errors were encountered: