Skip to content

Commit

Permalink
doc
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 0302f47 commit 4e79b47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/common/view/GraphContentsToggleButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ define( require => {

super( graphContentsVisibleProperty, options );

// change the button color to emphasize when the graph contents are hidden
graphContentsVisibleProperty.link( visible => {
this.setBaseColor( visible ? 'white' : PhetColorScheme.BUTTON_YELLOW );
} );
Expand Down

0 comments on commit 4e79b47

Please sign in to comment.