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 | 6 |
1 files changed, 5 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 7566968..25a353f 100644 --- a/animism-align/frontend/app/views/viewer/viewer.actions.js +++ b/animism-align/frontend/app/views/viewer/viewer.actions.js @@ -121,7 +121,7 @@ export const loadSections = () => dispatch => { } // build timeline of fullscreen events - if (FULLSCREEN_UTILITY_ANNOTATION_TYPES.has(annotation.type) || annotation.settings.fullscreen) { + if ((FULLSCREEN_UTILITY_ANNOTATION_TYPES.has(annotation.type) || annotation.settings.fullscreen) && !annotation.settings.inline) { const event = makeFullscreenEvent(eventIndex++, annotation) currentSection.fullscreenTimeline.push(event) } @@ -213,6 +213,10 @@ export const setNavStyle = color => dispatch => { dispatch({ type: types.viewer.set_nav_style, color }) } +export const setMediaTitle = title => dispatch => { + dispatch({ type: types.viewer.set_media_title, title }) +} + export const showComponent = key => dispatch => { dispatch({ type: types.viewer.toggle_component, key, value: true }) } |
