Skip to content

Commit b05a979

Browse files
committed
(fix) increase swipe back distance
1 parent 3cb92b6 commit b05a979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Room/Room.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ export default {
563563
const posXEnd = touchEvent.changedTouches[0].clientX
564564
const posYEnd = touchEvent.changedTouches[0].clientY
565565
566-
const swippedRight = posXEnd - posXStart > 30
566+
const swippedRight = posXEnd - posXStart > 100
567567
const swippedVertically = Math.abs(posYEnd - posYStart) > 50
568568
569569
if (swippedRight && !swippedVertically) {

0 commit comments

Comments
 (0)