Skip to content

Commit

Permalink
TypeScript conversion for RectangularPushButton/PushButtonModel (and …
Browse files Browse the repository at this point in the history
…inherited types), Slider/SliderTrack (and associated types), NumberControl/ArrowButton/NumberDisplay, see phetsims/scenery-phet#726
  • Loading branch information
jonathanolson committed Mar 5, 2022
1 parent 070ace8 commit a03c9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/view/MediumControlPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class MediumControlPanel extends Node {
// add slider for index of refraction
const indexOfRefractionSlider = new HSlider( this.mediumIndexProperty,
new Range( INDEX_OF_REFRACTION_MIN, INDEX_OF_REFRACTION_MAX ), {
trackFill: 'white',
trackFillEnabled: 'white',
trackSize: new Dimension2( sliderWidth, 1 ),
thumbSize: new Dimension2( 10, 20 ),
thumbTouchAreaYDilation: 8, // So it will not overlap the tweaker buttons
Expand Down

0 comments on commit a03c9b2

Please sign in to comment.