Merge pull request #7240 from JohannesRiegler/master

Fixed #7021 - Galleria: thumbnails don't work on mobile
pull/7281/head
Tuğçe Küçükoğlu 2025-02-19 13:47:07 +03:00 committed by GitHub
commit 0821053929
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -421,6 +421,12 @@ export default {
}
},
changePageOnTouch(e, diff) {
const touchThreshold = 10
if(Math.abs(diff) < touchThreshold) {
// only a click/tap
return;
}
if (diff < 0) {
// left
this.navForward(e);