Skip to content

Commit

Permalink
Merge pull request #69 from danilvalov/fix/incorrect-gesture-directio…
Browse files Browse the repository at this point in the history
…n-detection

fix(Gallery): fix incorrect gesture direction detection
  • Loading branch information
Glazzes authored Oct 15, 2024
2 parents bc6f1d5 + 88df6b1 commit 65c8cc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/gallery/Reflection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ const Reflection = ({
const pan = Gesture.Pan()
.withTestId('pan')
.maxPointers(1)
.minVelocity(100)
.enabled(gesturesEnabled)
.onStart((e) => {
onPanStart && runOnJS(onPanStart)(e);
Expand Down

0 comments on commit 65c8cc3

Please sign in to comment.