Skip to content

Commit

Permalink
eyeToggleButton -> graphContentsToggleButton
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Malley <[email protected]>
  • Loading branch information
pixelzoom committed Oct 16, 2018
1 parent 4e79b47 commit 05a30db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/common/view/GQScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ define( require => {
} ) );

// Toggle button for showing/hiding contents of graph
const eyeToggleButton = new GraphContentsToggleButton( viewProperties.graphContentsVisibleProperty, {
const graphContentsToggleButton = new GraphContentsToggleButton( viewProperties.graphContentsVisibleProperty, {
scale: 0.75,
left: model.modelViewTransform.modelToViewX( model.graph.xRange.max ) + 10,
bottom: model.modelViewTransform.modelToViewY( model.graph.yRange.min ),
tandem: options.tandem.createTandem( 'eyeToggleButton' ),
tandem: options.tandem.createTandem( 'graphContentsToggleButton' ),
phetioDocumentation: 'button that shows/hides the contents of the graph'
} );

Expand All @@ -93,7 +93,7 @@ define( require => {
// rendering order
this.addChild( controlsParent );
this.addChild( graphNode );
this.addChild( eyeToggleButton );
this.addChild( graphContentsToggleButton );
this.addChild( pointToolsParent );

// Horizontally center controls in the space to the right of the graph.
Expand Down

0 comments on commit 05a30db

Please sign in to comment.