eugeneloza / decoherence

Project moved to https://gitlab.com/EugeneLoza/decoherence
GNU General Public License v3.0
10 stars 7 forks source link

Catch Long-Touch only if start location = end location #458

Closed eugeneloza closed 6 years ago

eugeneloza commented 6 years ago

Long-touch should use some threshold not to include "drag" events. Maybe, even not just compare start and end coordinates, but if onMotion moves beyond threshold then cancel possible long touch event (e.g. player dragged item, changed his mind and brought it back - should not work as a long-touch). This is not important and not urgent.

eugeneloza commented 6 years ago

Nope, much more important than I've thought, as it messes up with dragging.

eugeneloza commented 6 years ago

Should also be solved for right-clicks, e.g. dragging (accidentally) with right-button should not bring up the info box.