From 7dc7f372779ea0573cfbbae04a1828dcbeec767a Mon Sep 17 00:00:00 2001 From: zepumph Date: Mon, 3 Jul 2017 12:52:26 -0800 Subject: [PATCH] tweak thumb colors, https://github.com/phetsims/sun/issues/289 https://github.com/phetsims/sun/issues/293, https://github.com/phetsims/resistance-in-a-wire/issues/88 --- js/ohms-law/view/SliderUnit.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/ohms-law/view/SliderUnit.js b/js/ohms-law/view/SliderUnit.js index 8c9ec57..6a4dc07 100644 --- a/js/ohms-law/view/SliderUnit.js +++ b/js/ohms-law/view/SliderUnit.js @@ -19,8 +19,6 @@ define( function( require ) { // constants var MAX_TEXT_WIDTH = OhmsLawConstants.SLIDERS_HORIZONTAL_SEPARATION * 0.90; // Max text width for labels - var THUMB_FILL_ENABLED = '#81aac2'; // dark grey - var THUMB_FILL_HIGHLIGHTED = '#a5becd'; // light steel blue /** * @param {Property.} property @@ -49,8 +47,8 @@ define( function( require ) { var slider = new HSlider( property, range, { trackFillEnabled: 'black', - thumbFillEnabled: THUMB_FILL_ENABLED, - thumbFillHighlighted: THUMB_FILL_HIGHLIGHTED, + thumbFillEnabled: '#c3c4c5', + thumbFillHighlighted: '#dedede', rotation: -Math.PI / 2, // -10 accounts for a bug fix in HSlider, see https://github.com/phetsims/sun/issues/293