mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
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:
@@ -184,7 +184,7 @@ const (
|
|||||||
|
|
||||||
UI = "ui"
|
UI = "ui"
|
||||||
|
|
||||||
defaultImageLightboxSlideshowDelay = 5000
|
defaultImageLightboxSlideshowDelay = 5
|
||||||
|
|
||||||
DisableDropdownCreatePerformer = "disable_dropdown_create.performer"
|
DisableDropdownCreatePerformer = "disable_dropdown_create.performer"
|
||||||
DisableDropdownCreateStudio = "disable_dropdown_create.studio"
|
DisableDropdownCreateStudio = "disable_dropdown_create.studio"
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ const CLASSNAME_NAV = `${CLASSNAME}-nav`;
|
|||||||
const CLASSNAME_NAVIMAGE = `${CLASSNAME_NAV}-image`;
|
const CLASSNAME_NAVIMAGE = `${CLASSNAME_NAV}-image`;
|
||||||
const CLASSNAME_NAVSELECTED = `${CLASSNAME_NAV}-selected`;
|
const CLASSNAME_NAVSELECTED = `${CLASSNAME_NAV}-selected`;
|
||||||
|
|
||||||
const DEFAULT_SLIDESHOW_DELAY = 5000;
|
const DEFAULT_SLIDESHOW_DELAY = 5;
|
||||||
const SECONDS_TO_MS = 1000;
|
const SECONDS_TO_MS = 1000;
|
||||||
const MIN_VALID_INTERVAL_SECONDS = 1;
|
const MIN_VALID_INTERVAL_SECONDS = 1;
|
||||||
const MIN_ZOOM = 0.1;
|
const MIN_ZOOM = 0.1;
|
||||||
|
|||||||
Reference in New Issue
Block a user