slideshow delay default values changed from 5000 to 5 seconds (#4186)

* Update Lightbox.tsx to also change default delay here to 5 sec instead of 5000
* Update config.go to set default slideshow delay from 5000 sec to 5 sec
This commit is contained in:
RPaetau 2023-10-10 05:22:39 +02:00 committed by GitHub
parent c109a58231
commit 1f0f5eb49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ const (
UI = "ui"
defaultImageLightboxSlideshowDelay = 5000
defaultImageLightboxSlideshowDelay = 5
DisableDropdownCreatePerformer = "disable_dropdown_create.performer"
DisableDropdownCreateStudio = "disable_dropdown_create.studio"

View File

@ -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;