summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/viewer.actions.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-11-10 14:27:47 +0100
committerJules Laplace <julescarbon@gmail.com>2020-11-10 14:27:47 +0100
commitddea3e90b614ecbc9a034bce69be8fcb1e864249 (patch)
treedba151581e5246128990707b52ae3d9419ccd0f3 /animism-align/frontend/app/views/viewer/viewer.actions.js
parentef01f3cb8ce9859ce8d5df65ec24913caaba6675 (diff)
play to end of vitrine section (no inline view)
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.actions.js')
-rw-r--r--animism-align/frontend/app/views/viewer/viewer.actions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js
index a29383b..cd4b79f 100644
--- a/animism-align/frontend/app/views/viewer/viewer.actions.js
+++ b/animism-align/frontend/app/views/viewer/viewer.actions.js
@@ -170,7 +170,7 @@ export const loadSections = () => dispatch => {
time_to_first_fullscreen_element = 0
if (currentSection.fullscreenTimeline.length) {
time_to_first_fullscreen_element = Math.abs(currentSection.fullscreenTimeline[0].start_ts - currentSection.start_ts)
- if (time_to_first_fullscreen_element < 1.0) {
+ if (time_to_first_fullscreen_element < 2.0) {
currentSection.fullscreenTimeline[0].start_ts = currentSection.start_ts
time_to_first_fullscreen_element = 0.0
}