diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-10-30 18:13:49 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-10-30 18:13:49 +0100 |
| commit | 16f2d1f182232bf7867c7bdc8322a941453f4f99 (patch) | |
| tree | 62331eb445d2094a5f3d1b00b31bf4b524d49147 /animism-align/frontend/app/views/viewer/player/components.fullscreen | |
| parent | 66da6622891e399be7e4def79ad496176493f456 (diff) | |
curtain text
Diffstat (limited to 'animism-align/frontend/app/views/viewer/player/components.fullscreen')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js index 3a0e21d..2a1283a 100644 --- a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js +++ b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js @@ -8,11 +8,15 @@ export const FullscreenCurtain = ({ element, transitionDuration }) => { color: color.textColor, transitionDuration, } + console.log(element, element.annotation.settings.curtain_text) return ( <div className='fullscreen-element curtain' style={style} > + {element.annotation.curtain_text && ( + <span dangerouslySetInnerHTML={{ __html: element.annotation.settings.curtain_text }} /> + )} </div> ) } |
