sciactive / tinygesture

Very small gesture recognizer for JavaScript. Swipe, pan, tap, doubletap, longpress, pinch, and rotate.
https://sciactive.github.io/tinygesture/
Apache License 2.0
210 stars 18 forks source link

No swipe events with `diagonalSwipes: true` #6

Closed arggh closed 11 months ago

arggh commented 4 years ago

I apologize in advance for a short and blunt bug report.

I spent a while debugging why tinygesture wasn't firing swipe events at all. It didn't matter how I swiped. Turned out to be due to diagonalSwipes being set to true.

I don't have a repro, it's late and I probably forget about this tomorrow with all the corona fuss, so that will be all.

hperrin commented 11 months ago

Fixed in 2ae9e4ef3becb1c2995576c497a9eca1a503e134.