Skip to content

Commit

Permalink
tweak thumb colors, phetsims/sun#289 phetsims/sun#293, #88
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 3, 2017
1 parent b62ab5b commit 18403bf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/resistance-in-a-wire/view/SliderUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ define( function( require ) {

// constants
var MAX_TEXT_WIDTH = ResistanceInAWireConstants.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 @@ -69,8 +67,8 @@ define( function( require ) {
trackFillEnabled: 'black',
rotation: -Math.PI / 2,
trackSize: new Dimension2( ResistanceInAWireConstants.SLIDER_HEIGHT - 30, 4 ),
thumbFillEnabled: THUMB_FILL_ENABLED,
thumbFillHighlighted: THUMB_FILL_HIGHLIGHTED,
thumbFillEnabled: '#c3c4c5',
thumbFillHighlighted: '#dedede',
x: 0,
centerY: sliderCenterY,
tandem: tandem.createTandem( 'slider' ),
Expand Down

0 comments on commit 18403bf

Please sign in to comment.