Skip to content

Commit

Permalink
Increased touch dilation areas on sliders so that they are flush
Browse files Browse the repository at this point in the history
See #72
  • Loading branch information
Saurabh Totey authored and Saurabh Totey committed Jun 17, 2019
1 parent 3ff1719 commit 39b2db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/curve-fitting/view/CoefficientSliderNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ define( require => {
trackSize: new Dimension2( 120, 1 ),
thumbSize: new Dimension2( 15, 23 ),
minorTickLineWidth: 2,
thumbTouchAreaYDilation: 1 // small such that touch areas of adjacent sliders don't overlap. It is YDilation since we rotate by 90
thumbTouchAreaYDilation: 3 // small such that touch areas of adjacent sliders don't overlap. It is YDilation since we rotate by 90
}, options );

const sliderNode = new VSlider( property, range, options );
Expand Down

0 comments on commit 39b2db4

Please sign in to comment.