diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-10-21 20:28:10 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-10-21 20:28:10 +0200 |
| commit | d1a15ad8560d7ff604fded4902b9b72b59238bea (patch) | |
| tree | c55798ddfed80617f2a2d512ea8950855ff7050f /animism-align/frontend | |
| parent | bf6ef2f60cdbeaa3bc4f7dc5e9d567cdefc63fc7 (diff) | |
adjust fullscreen order
Diffstat (limited to 'animism-align/frontend')
4 files changed, 5 insertions, 2 deletions
diff --git a/animism-align/frontend/app/views/viewer/nav/viewer.router.js b/animism-align/frontend/app/views/viewer/nav/viewer.router.js index d9dc48b..9191552 100644 --- a/animism-align/frontend/app/views/viewer/nav/viewer.router.js +++ b/animism-align/frontend/app/views/viewer/nav/viewer.router.js @@ -50,6 +50,9 @@ class ViewerRouter extends Component { case 'textplate': actions.viewer.seekToTimestamp(timestampToSeconds('44:39')) break + case 'book': + actions.viewer.seekToTimestamp(timestampToSeconds('15:00 ')) + break case 'end': break } diff --git a/animism-align/frontend/app/views/viewer/player/player.fullscreen.js b/animism-align/frontend/app/views/viewer/player/player.fullscreen.js index de90bf2..1da9015 100644 --- a/animism-align/frontend/app/views/viewer/player/player.fullscreen.js +++ b/animism-align/frontend/app/views/viewer/player/player.fullscreen.js @@ -48,6 +48,7 @@ class PlayerFullscreen extends Component { actions.viewer.setNavStyle(currentSection.color) actions.viewer.setMediaTitle(null) } + elements.reverse() this.setState({ elements }) } diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js index 983d236..546e0c5 100644 --- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js +++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js @@ -38,7 +38,6 @@ class ViewerSectionsFootnotes extends Component { } render() { const { footnoteList } = this.props - console.log(footnoteList.map(note => note.footnote_id)) return ( <div className='nav-footnotes'> <div className='nav-footnotes-close' onClick={() => actions.viewer.hideNavComponent('footnotes')}> diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js index d4dfb7b..f3e3465 100644 --- a/animism-align/frontend/app/views/viewer/viewer.actions.js +++ b/animism-align/frontend/app/views/viewer/viewer.actions.js @@ -182,7 +182,7 @@ export const loadSections = () => dispatch => { currentSection.duration = currentSection.end_ts - currentSection.start_ts } - console.log(sections) + // console.log(sections) // console.log(footnoteList) // console.log(fullscreenTimeline) dispatch({ type: types.viewer.load_sections, sections, footnoteList }) |
