Skip to content

Commit

Permalink
Instrument thermometer label, see #83
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisklus committed Apr 25, 2019
1 parent 84e1e24 commit dd295c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/blackbody-spectrum/view/BlackbodySpectrumScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,15 @@ define( function( require ) {
font: BlackbodyConstants.LABEL_FONT,
fill: TITLE_COLOR,
align: 'center',
maxWidth: 130
maxWidth: 130,
tandem: tandem.createTandem( 'thermometerLabel' )
} );

// A text node that reflects the temperature of the slider or main model
var temperatureText = new Text( '?', {
font: TEMPERATURE_FONT,
fill: TEMPERATURE_COLOR
fill: TEMPERATURE_COLOR,
tandem: tandem.createTandem( 'temperatureText' )
} );

// create the BGR and star display
Expand Down

0 comments on commit dd295c8

Please sign in to comment.