Skip to content

ratio-based swipe gestures#349

Open
duhdugg wants to merge 1 commit intoSTEPBible:masterfrom
duhdugg:ratio-based-swipe-gestures
Open

ratio-based swipe gestures#349
duhdugg wants to merge 1 commit intoSTEPBible:masterfrom
duhdugg:ratio-based-swipe-gestures

Conversation

@duhdugg
Copy link
Copy Markdown
Contributor

@duhdugg duhdugg commented Mar 21, 2026

I was having trouble with one-handed swiping...

By using a ratio instead of a fixed verticalTolerance, swipe detection is less strict about vertical travel as long as the horizontal travel makes the angle less than abs(36) degrees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant