Skip to content

Commit

Permalink
Replace buttonAccessibleName and buttonHelpText with accessibleName a…
Browse files Browse the repository at this point in the history
…nd helpText, see phetsims/scenery-phet#877
  • Loading branch information
jessegreenberg committed Oct 30, 2024
1 parent 03e7eeb commit 9d44c40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/view/LightNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ export class LightNode extends Node {
buttonRadius: 19,
rotation: -Light.DIRECTION, // +y is up in the model, down in the view

//TODO description: https://github.com/phetsims/scenery-phet/issues/877 LaserPointerNode API needs improvement.
buttonAccessibleName: ModelsOfTheHydrogenAtomStrings.a11y.lightSourceStringProperty,
accessibleName: ModelsOfTheHydrogenAtomStrings.a11y.lightSourceStringProperty,
tandem: options.tandem.createTandem( 'laserPointerNode' ),
phetioVisiblePropertyInstrumented: false
} );
Expand Down

0 comments on commit 9d44c40

Please sign in to comment.