# HG changeset patch # User Goffi # Date 1598302071 -7200 # Node ID d5f6793dc17cacc2f3ddc5b09acb5cac0d42533b # Parent 3a1cb3c5702fbb8b3ede58f1cabfb644514115b3 browser (slideshow): use non zero threshold to avoid accidental swipe diff -r 3a1cb3c5702f -r d5f6793dc17c libervia/pages/_browser/slideshow.py --- a/libervia/pages/_browser/slideshow.py Sat Aug 15 23:29:00 2020 +0200 +++ b/libervia/pages/_browser/slideshow.py Mon Aug 24 22:47:51 2020 +0200 @@ -56,6 +56,9 @@ self.swiper = Swiper.new( ".swiper-container", { + # default 0 value results in lot of accidental swipes, notably when media + # player is used + "threshold": 10, "pagination": { "el": ".swiper-pagination", },