From dd295c8bebf76ff6318d6900ce3243c610dea5fc Mon Sep 17 00:00:00 2001 From: chrisklus Date: Wed, 24 Apr 2019 18:20:40 -0600 Subject: [PATCH] Instrument thermometer label, see https://github.com/phetsims/blackbody-spectrum/issues/83 --- js/blackbody-spectrum/view/BlackbodySpectrumScreenView.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/blackbody-spectrum/view/BlackbodySpectrumScreenView.js b/js/blackbody-spectrum/view/BlackbodySpectrumScreenView.js index 7ee43dc..de0aa4e 100644 --- a/js/blackbody-spectrum/view/BlackbodySpectrumScreenView.js +++ b/js/blackbody-spectrum/view/BlackbodySpectrumScreenView.js @@ -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