phetsims / bending-light

"Bending Light" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/bending-light
GNU General Public License v3.0
8 stars 8 forks source link

adjust touchArea options for HSlider thumb #355

Closed pixelzoom closed 8 years ago

pixelzoom commented 8 years ago

In https://github.com/phetsims/sun/issues/254, the touchArea defaults for HSlider thumb were changed so that they default to pixels, not a percentage of the thumb size. Sims that use HSlider's thumbSize option will therefore need to also specify thumbTouchAreaXDilation and thumbTouchAreaYDilation.

samreid commented 8 years ago

There is a bit of pointer area overlap in the medium control panels:

image

samreid commented 8 years ago

Reduced from 11 to 8 and it seems better:

image

samreid commented 8 years ago

Fixed, closing.