Closed pixelzoom closed 5 years ago
See https://github.com/phetsims/scenery-phet/issues/446#issuecomment-460726349
NumberControl and NumberDisplay now support both '{{value}}' and '{0}'. So...
In ISLCObjectControlPanel.js, this:
90 valuePattern: StringUtils.fillIn( pattern0Value1UnitsString, { value: '{0}', units: unitString } ),
can be changed to this:
90 valuePattern: StringUtils.fillIn( pattern0Value1UnitsString, { units: unitString } ),
Thanks, done above.
See https://github.com/phetsims/scenery-phet/issues/446#issuecomment-460726349
NumberControl and NumberDisplay now support both '{{value}}' and '{0}'. So...
In ISLCObjectControlPanel.js, this:
90 valuePattern: StringUtils.fillIn( pattern0Value1UnitsString, { value: '{0}', units: unitString } ),
can be changed to this:
90 valuePattern: StringUtils.fillIn( pattern0Value1UnitsString, { units: unitString } ),