Skip to content

Commit

Permalink
Uninstrument homeScreen.view.buttonGroup.*ScreenButton.text, see #934
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 17, 2023
1 parent b3722f9 commit 305fabf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/HomeScreenButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ class HomeScreenButton extends Voicing( VBox ) {
} );

// text for the button
const text = new Text( screen.nameProperty, {
tandem: options.tandem.createTandem( 'text' ),
stringPropertyOptions: { phetioReadOnly: true } // text is updated via screen.nameProperty
} );
const text = new Text( screen.nameProperty );

super( merge( { children: [ nodeContainer, text ] }, options ) );

Expand Down

0 comments on commit 305fabf

Please sign in to comment.