phetsims / sun

User-interface components for PhET simulations, built on top of Scenery.
MIT License
4 stars 12 forks source link

sun: default touch area dilation for sub-components should be zero #223

Open samreid opened 8 years ago

samreid commented 8 years ago

From #207:

Some [sun components] pointer areas for subcomponents (e.g. HSlider, OnOffSwitch), and should have options, but addressing that deficiency is not part of this issue.

ExpandCollapseBar also has:

    // expand/collapse button
    var button = new ExpandCollapseButton( expandedProperty, { sideLength: options.buttonLength } );
    button.touchArea = Shape.bounds( button.localBounds.dilatedXY( 10, 10 ) );
samreid commented 8 years ago

Looks like carousels probably have a similar issue:

image

samreid commented 8 years ago

Looks like PageControl has a similar issue:

image

samreid commented 8 years ago

Summarizing the above: