summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/constants.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-11-09 17:04:25 +0100
committerJules Laplace <julescarbon@gmail.com>2020-11-09 17:04:25 +0100
commit1b4da06342d36e5db84f2c6a6c0904c1a20be028 (patch)
tree3a2237d83877389092c50ab015ade52c63053a62 /animism-align/frontend/app/constants.js
parent0cffae759496a086eabe7459a8cfd066760f474e (diff)
better potential logic for whether persistent fullscreen elements are present
Diffstat (limited to 'animism-align/frontend/app/constants.js')
-rw-r--r--animism-align/frontend/app/constants.js7
1 files changed, 6 insertions, 1 deletions
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