Fix pages count
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
/**
|
||||
* Infinite looping
|
||||
*/
|
||||
export let infinite
|
||||
export let infinite = false
|
||||
$: {
|
||||
data.infinite = infinite
|
||||
}
|
||||
|
||||
@@ -113,6 +113,7 @@ function createCarousel(onChange) {
|
||||
infinite: data.infinite,
|
||||
particlesCountWithoutClones: data.particlesCountWithoutClones,
|
||||
particlesToScroll: data.particlesToScroll,
|
||||
particlesToShow: data.particlesToShow,
|
||||
})
|
||||
},
|
||||
setParticlesToShow({ data }) {
|
||||
|
||||
Reference in New Issue
Block a user