Skip to content

Commit

Permalink
descriptionContent -> screenButtonsHelpText, see phetsims/joist#989
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Nov 5, 2024
1 parent 80be47e commit c20861d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions js/energylevels/EnergyLevelsScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export default class EnergyLevelsScreen extends MOTHAScreen<EnergyLevelsModel, E
isDisposable: false,
name: ModelsOfTheHydrogenAtomStrings.screen.energyLevelsStringProperty,
homeScreenIcon: createScreenIcon(),

//TODO https://github.com/phetsims/joist/issues/989 Improve the API for screen buttons helpText.
descriptionContent: ModelsOfTheHydrogenAtomStrings.a11y.energyLevelsScreenButtonsHelpTextStringProperty
screenButtonsHelpText: ModelsOfTheHydrogenAtomStrings.a11y.energyLevelsScreenButtonsHelpTextStringProperty
}, providedOptions );

super(
Expand Down
4 changes: 1 addition & 3 deletions js/spectra/SpectraScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export default class SpectraScreen extends MOTHAScreen<SpectraModel, SpectraScre
isDisposable: false,
name: ModelsOfTheHydrogenAtomStrings.screen.spectraStringProperty,
homeScreenIcon: createScreenIcon(),

//TODO https://github.com/phetsims/joist/issues/989 Improve the API for screen buttons helpText.
descriptionContent: ModelsOfTheHydrogenAtomStrings.a11y.spectraScreenButtonsHelpTextStringProperty
screenButtonsHelpText: ModelsOfTheHydrogenAtomStrings.a11y.spectraScreenButtonsHelpTextStringProperty
}, providedOptions );

super(
Expand Down

0 comments on commit c20861d

Please sign in to comment.