Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.82k stars 821 forks source link

Button touch bounds is offset #1066

Closed Dimensionscape closed 4 years ago

Dimensionscape commented 4 years ago

offset

In 2.6, the area that receives touch on starling buttons is offset and interferes with other button display objects.

PrimaryFeather commented 4 years ago

Ah ... damn, I should have made that default for the minimum touch-size smaller for desktop. Thanks for the heads-up! I'll fix that for you.

PrimaryFeather commented 4 years ago

I changed minHitAreaSize of the Button class to 16 (from 44) when on Desktop. What do you say — does that work out?

Cheers!