Skip to content

Commit

Permalink
instrument texts of the radioButtons, #226
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 8, 2022
1 parent 8782a9c commit da0e8e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/real/RealMoleculesScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class RealMoleculesScreenView extends MoleculeShapesScreenView {
createNode: tandem => new Text( MoleculeShapesStrings.control.realView, {
font: new PhetFont( 28 ),
fill: MoleculeShapesColors.controlPanelTextProperty,
tandem: tandem.createTandem( 'text' ),
stringProperty: MoleculeShapesStrings.control.realViewStringProperty
} ),
value: true,
Expand All @@ -97,6 +98,7 @@ class RealMoleculesScreenView extends MoleculeShapesScreenView {
createNode: tandem => new Text( MoleculeShapesStrings.control.modelView, {
font: new PhetFont( 28 ),
fill: MoleculeShapesColors.controlPanelTextProperty,
tandem: tandem.createTandem( 'text' ),
stringProperty: MoleculeShapesStrings.control.modelViewStringProperty
} ),
value: false,
Expand Down

0 comments on commit da0e8e3

Please sign in to comment.