Skip to content

Commit

Permalink
Screen name must be a Property, clean up Screen.nameProperty implemen…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph authored and jbphet committed Sep 16, 2022
1 parent 27e97bb commit 7298be4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/layer-model/LayerModelScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LayerModelScreen extends Screen<LayerModelModel, LayerModelScreenView> {
homeScreenIcon: new RandomIcon( 544 ),
maxDT: GreenhouseEffectConstants.MAX_DT,
tandem: tandem,
name: GreenhouseEffectStrings.screen.layerModel,
name: GreenhouseEffectStrings.screen.layerModelStringProperty,
keyboardHelpNode: new GreenhouseEffectKeyboardHelpContent()
};

Expand Down
2 changes: 1 addition & 1 deletion js/micro/MicroScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MicroScreen extends Screen {
backgroundColorProperty: new Property( '#C5D6E8' ),
homeScreenIcon: new RandomIcon( 549 ),
tandem: tandem,
name: GreenhouseEffectStrings.screen.micro,
name: GreenhouseEffectStrings.screen.microStringProperty,

// TODO: This should use the same content as molecules-and-light,
// MoleculesAndLightKeyboardHelpContent should be moved to this repo.
Expand Down
2 changes: 1 addition & 1 deletion js/photons/PhotonsScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class PhotonsScreen extends Screen<PhotonsModel, PhotonsScreenView> {
homeScreenIcon: new RandomIcon( 1 ),
maxDT: GreenhouseEffectConstants.MAX_DT,
tandem: tandem,
name: GreenhouseEffectStrings.screen.photons,
name: GreenhouseEffectStrings.screen.photonsStringProperty,
descriptionContent: GreenhouseEffectStrings.a11y.photons.homeScreenDescription,
keyboardHelpNode: new GreenhouseEffectKeyboardHelpContent()
};
Expand Down
2 changes: 1 addition & 1 deletion js/waves/WavesScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class WavesScreen extends Screen<WavesModel, WavesScreenView> {
homeScreenIcon: new RandomIcon( 552 ),
maxDT: GreenhouseEffectConstants.MAX_DT,
tandem: tandem,
name: GreenhouseEffectStrings.screen.waves,
name: GreenhouseEffectStrings.screen.wavesStringProperty,
descriptionContent: GreenhouseEffectStrings.a11y.waves.homeScreenDescription,
keyboardHelpNode: new GreenhouseEffectKeyboardHelpContent()
};
Expand Down

0 comments on commit 7298be4

Please sign in to comment.