diff options
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.actions.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/viewer.actions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js index 2771957..21a8098 100644 --- a/animism-align/frontend/app/views/viewer/viewer.actions.js +++ b/animism-align/frontend/app/views/viewer/viewer.actions.js @@ -111,11 +111,11 @@ export const loadSections = () => dispatch => { } } - // build timeline of gallery / carousel advance instructions + // build timeline of gallery / carousel advance instructions. this is in reverse so we can step thru it if (GALLERY_UTILITY_ANNOTATION_TYPES.has(annotation.type) && currentSection.fullscreenTimeline.length) { const lastTimelineEvent = currentSection.fullscreenTimeline[currentSection.fullscreenTimeline.length - 1] if (!lastTimelineEvent.timeline) lastTimelineEvent.timeline = [] - lastTimelineEvent.timeline.push(annotation) + lastTimelineEvent.timeline.unshift(annotation) } // build timeline of special inline items |
