Skip to content

Commit 8bef26b

Browse files
fix: allow touch down event to propagate to double tap gesture listener (#6573)
Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
1 parent 4a0d39d commit 8bef26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/customselector/helper/OnSwipeTouchListener.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ open class OnSwipeTouchListener(
3737
}
3838

3939
inner class GestureListener : GestureDetector.SimpleOnGestureListener() {
40-
override fun onDown(e: MotionEvent): Boolean = true
40+
override fun onDown(e: MotionEvent): Boolean = false
4141

4242
/**
4343
* Detects the gestures

0 commit comments

Comments
 (0)