From 1b4da06342d36e5db84f2c6a6c0904c1a20be028 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 9 Nov 2020 17:04:25 +0100 Subject: better potential logic for whether persistent fullscreen elements are present --- animism-align/frontend/app/constants.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'animism-align/frontend/app/constants.js') diff --git a/animism-align/frontend/app/constants.js b/animism-align/frontend/app/constants.js index c113f3c..73cc5e7 100644 --- a/animism-align/frontend/app/constants.js +++ b/animism-align/frontend/app/constants.js @@ -76,6 +76,11 @@ export const GALLERY_UTILITY_ANNOTATION_TYPES = new Set([ 'gallery_advance', ]) +// elements which, if fullscreen, will not disappear if the episode is paused +export const PERSISTENT_FULLSCREEN_ELEMENTS = new Set([ + 'video', 'gallery', 'carousel', 'vitrine', +]) + export const CURTAIN_COLORS = [ { label: 'white', backgroundColor: 'rgba(255,255,255,1.0)', textColor: '#000000' }, { label: 'light gray', backgroundColor: 'rgba(238,238,238,1.0)', textColor: '#000000' }, @@ -124,4 +129,4 @@ export const GROWL = { REACHED_END_OF_FIRST_SECTION: "Click \"Next\" to advance the exhibition.", } -export const VIDEO_SCRUBBER_HIDE_DELAY = 1500 +export const VIDEO_SCRUBBER_HIDE_DELAY = 1000 -- cgit v1.2.3-70-g09d2