diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-09-23 14:16:16 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-09-23 14:16:16 +0200 |
| commit | 41052dd5b95cf2813662d8201b206ad2af78da40 (patch) | |
| tree | db02c19978d9dcd3e76bc55b86c19fa3ca51f6f5 /animism-align/frontend/app/views/viewer/viewer.actions.js | |
| parent | 5e4b9365a5f71827aafd674f97464441707c5d3c (diff) | |
fixing heights of carousels. set media title from fullscreen video
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 }) } |
