Add ShowPaginationDots configuration option and update related UI elements

This commit is contained in:
CodeDevMLH
2026-03-08 16:57:16 +01:00
parent 2993bfe3f2
commit 3a367cb2be
3 changed files with 116 additions and 66 deletions

View File

@@ -38,6 +38,7 @@ const CONFIG = {
preloadCount: 3,
fadeTransitionDuration: 500,
maxPaginationDots: 15,
showPaginationDots: true,
slideAnimationEnabled: true,
enableVideoBackdrop: true,
useSponsorBlock: true,
@@ -2280,6 +2281,8 @@ const SlideCreator = {
const SlideshowManager = {
createPaginationDots() {
if (!CONFIG.showPaginationDots) return;
let dotsContainer = document.querySelector(".dots-container");
if (!dotsContainer) {
dotsContainer = document.createElement("div");