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 21a5e86
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.

0 comments on commit 21a5e86

Please sign in to comment.