Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 3, 2017
1 parent 009ba7e commit 7dc7f37
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/ohms-law/view/SliderUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.<number>} property
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7dc7f37

Please sign in to comment.