threerings / tripleplay

Utilities for use in PlayN-based games.
Other
92 stars 32 forks source link

Bumpy, irregular dragging of a Scroller containing interactive elements #80

Closed pgpego closed 3 years ago

pgpego commented 3 years ago

When dragging a Scroller containing interactive elements (such as buttons) the scroll is irregular and bumpy (it moves back and forward even if the displacement is only in one direction). If the buttons are replaced with non-interactive elements (e.g. Labels) this does not happen.

This behaviour has been observed with tripleplay-2.0.5. With tripleplay-2.0.4 this does not happen.

Find below some sample code showing the problem. scrolltest-src.zip