From a03c9b244befb74e8ff948d242f9b3e1a22b5a33 Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Sat, 5 Mar 2022 08:36:16 -0700 Subject: [PATCH] TypeScript conversion for RectangularPushButton/PushButtonModel (and inherited types), Slider/SliderTrack (and associated types), NumberControl/ArrowButton/NumberDisplay, see https://github.com/phetsims/scenery-phet/issues/726 --- js/common/view/MediumControlPanel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/common/view/MediumControlPanel.ts b/js/common/view/MediumControlPanel.ts index ab565003..5e9474b0 100644 --- a/js/common/view/MediumControlPanel.ts +++ b/js/common/view/MediumControlPanel.ts @@ -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