From d8ac0c8298cf6157fcf5773eab088f19a2c8fbb1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 21 Sep 2020 21:48:23 +0200 Subject: background color stuff, pull quotes in the text but not the transcript, inline vitrine stuff --- .../app/views/viewer/player/components.fullscreen/fullscreen.image.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'animism-align/frontend/app/views/viewer/player/components.fullscreen') diff --git a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.image.js b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.image.js index 15525f4..85badb0 100644 --- a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.image.js +++ b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.image.js @@ -1,7 +1,9 @@ import React from 'react' +import { CURTAIN_COLOR_LOOKUP } from 'app/constants' export const FullscreenImage = ({ element, media, transitionDuration }) => { - const { color } = element + const color = element.color || CURTAIN_COLOR_LOOKUP.white + const item = media.lookup[element.settings.media_id] const style = { backgroundColor: color.backgroundColor, -- cgit v1.2.3-70-g09d2