Skip to content

Commit

Permalink
Update documentation, see phetsims/scenery#1100
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 31, 2020
1 parent 82386b3 commit ef1a346
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/view/SliderKnob.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ function SliderKnob( tandem, options ) {
} );
this.addChild( rectangle );

// link the fill to the enabled property
// slider knob exists for lifetime of sim, no dispose necessary
// @private - link the fill to the enabled property. Slider knob exists for lifetime of sim, no dispose necessary.
this.enabledPropertyListener = function( enabled ) {
rectangle.fill = enabled ? enabledGradient : disabledGradient;
};
Expand Down

0 comments on commit ef1a346

Please sign in to comment.