Skip to content

Commit

Permalink
add pdom prefixes to controlAreaNode and screenSummaryNode, remove '_…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 29, 2019
1 parent 4599d1c commit 25c5304
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/moleculesandlight/view/MoleculesAndLightScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ define( require => {
radius: 18,
tandem: tandem.createTandem( 'resetAllButton' )
} );
this.controlAreaNode.addChild( resetAllButton );
this.pdomControlAreaNode.addChild( resetAllButton );

// Add play/pause button.
const playPauseButton = new PlayPauseButton( photonAbsorptionModel.runningProperty, {
Expand All @@ -187,7 +187,7 @@ define( require => {
a11yPauseDescription: pauseDescriptionString,
a11yPlayDescription: playDescriptionString
} );
this.controlAreaNode.addChild( playPauseButton );
this.pdomControlAreaNode.addChild( playPauseButton );

// Add step button to manually step the animation.
const stepButton = new StepForwardButton( {
Expand All @@ -204,7 +204,7 @@ define( require => {
descriptionContent: stepButtonDescriptionString,
appendDescription: true
} );
this.controlAreaNode.addChild( stepButton );
this.pdomControlAreaNode.addChild( stepButton );

// Content for the window that displays the EM spectrum upon request. Constructed once here so that time is not
// waisted drawing a new spectrum window every time the user presses the 'Show Light Spectrum' button.
Expand Down Expand Up @@ -257,7 +257,7 @@ define( require => {
showLightSpectrumButton.setAccessibleAttribute( 'aria-haspopup', true );

showLightSpectrumButton.center = ( new Vector2( moleculeControlPanel.centerX, photonEmissionControlPanel.centerY - 13 ) );
this.controlAreaNode.addChild( showLightSpectrumButton );
this.pdomControlAreaNode.addChild( showLightSpectrumButton );

// Add the nodes in the order necessary for correct layering.
this.pdomPlayAreaNode.addChild( photonEmissionControlPanel );
Expand Down

0 comments on commit 25c5304

Please sign in to comment.