beyonk-group/svelte-carousel

Incorrect number of dots in example

Opened this issue · 1 comments

The Carousel example on svelte.dev has four items but only two dots.

Is that an issue with the Carousel or svelte.dev?

image

The dots don't really demonstrate the number of items but the number of slide actions available to view all items. That's what I've been looking at them as.
On looking at the source, this line helps understand it's purpose
$: totalDots = controller ? Math.ceil(controller.innerElements.length / currentPerPage) : [];