diff --git a/js/view/ProbeTextNode.ts b/js/view/ProbeTextNode.ts index 518c0f14..68ca5548 100644 --- a/js/view/ProbeTextNode.ts +++ b/js/view/ProbeTextNode.ts @@ -34,7 +34,7 @@ export default class ProbeTextNode extends VBox { spacing: 3 }, providedOptions ); - const readout = new Text( textProperty.value, { + const readout = new Text( textProperty, { fontSize: 40, maxWidth: TEXT_BOX_WIDTH - 20, tandem: tandem.createTandem( 'readoutText' ) @@ -47,8 +47,6 @@ export default class ProbeTextNode extends VBox { fill: Color.WHITE } ); - textProperty.link( text => readout.setText( text ) ); - // Text bounds is not updated eagerly, so wait for the bounds to change for layout readout.boundsProperty.link( bounds => { if ( readout.text === MathSymbols.NO_VALUE ) {