Skip to content

Commit c5a381a

Browse files
committed
(fix) disable swipe back with single-room mode
1 parent ba44803 commit c5a381a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/Room/Room.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,8 @@ export default {
547547
548548
methods: {
549549
touchStart(touchEvent) {
550+
if (this.singleRoom) return
551+
550552
if (touchEvent.changedTouches.length === 1) {
551553
const posXStart = touchEvent.changedTouches[0].clientX
552554
const posYStart = touchEvent.changedTouches[0].clientY

0 commit comments

Comments
 (0)