opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

Fixed false long-press detection for double tap and keeping finger down. #71

Closed 0nko closed 4 years ago

0nko commented 10 years ago

When you double tap and leave your finger down, the long-press gesture event is fired as well. This is not how it should work.

hjanetzek commented 10 years ago

Thanks for the patch! I think the hold-down-time could even be shorter than long-press time to not trigger the zoom animation. I'll add a test for a short double-tap down- to up-event intervall