We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e1d30 commit 9b159caCopy full SHA for 9b159ca
src/components/vueperslides/vueperslides.vue
@@ -467,7 +467,8 @@ export default {
467
getBasicTranslation () {
468
let translation = this.slides.current / this.conf.visibleSlides
469
470
- if (this.conf.infinite) translation += 1 / this.conf.visibleSlides // A clone is prepended to the slides track.
+ // A clone is prepended to the slides track.
471
+ if (this.conf.infinite && this.slidesCount > 1) translation += 1 / this.conf.visibleSlides
472
473
return translation
474
},
0 commit comments