Skip to content

Commit

Permalink
Fix Y-axis swipe bug
Browse files Browse the repository at this point in the history
Description: when scrolling on mobile, you generally use your thumb finger diagonally and this causes the scroll turn into a swipe. I fixed this by checking whether the movement on the X axis is more significant than the movement on the Y axis.
  • Loading branch information
Theodor Rosca-Marc committed May 7, 2020
1 parent 4025655 commit ad17460
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.

0 comments on commit ad17460

Please sign in to comment.