diff --git a/internal/manager/config/config.go b/internal/manager/config/config.go index 76d37d2f6..113d36685 100644 --- a/internal/manager/config/config.go +++ b/internal/manager/config/config.go @@ -184,7 +184,7 @@ const ( UI = "ui" - defaultImageLightboxSlideshowDelay = 5000 + defaultImageLightboxSlideshowDelay = 5 DisableDropdownCreatePerformer = "disable_dropdown_create.performer" DisableDropdownCreateStudio = "disable_dropdown_create.studio" diff --git a/ui/v2.5/src/hooks/Lightbox/Lightbox.tsx b/ui/v2.5/src/hooks/Lightbox/Lightbox.tsx index 5430bede9..5b91673b2 100644 --- a/ui/v2.5/src/hooks/Lightbox/Lightbox.tsx +++ b/ui/v2.5/src/hooks/Lightbox/Lightbox.tsx @@ -70,7 +70,7 @@ const CLASSNAME_NAV = `${CLASSNAME}-nav`; const CLASSNAME_NAVIMAGE = `${CLASSNAME_NAV}-image`; const CLASSNAME_NAVSELECTED = `${CLASSNAME_NAV}-selected`; -const DEFAULT_SLIDESHOW_DELAY = 5000; +const DEFAULT_SLIDESHOW_DELAY = 5; const SECONDS_TO_MS = 1000; const MIN_VALID_INTERVAL_SECONDS = 1; const MIN_ZOOM = 0.1;