From 4e79b473b3be3cd7798990f74087d28213f17dfd Mon Sep 17 00:00:00 2001 From: Chris Malley Date: Tue, 16 Oct 2018 17:24:19 -0600 Subject: [PATCH] doc Signed-off-by: Chris Malley --- js/common/view/GraphContentsToggleButton.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/common/view/GraphContentsToggleButton.js b/js/common/view/GraphContentsToggleButton.js index 1644136c..acae6b7b 100644 --- a/js/common/view/GraphContentsToggleButton.js +++ b/js/common/view/GraphContentsToggleButton.js @@ -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 ); } );