summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js')
-rw-r--r--animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js4
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>
)
}