summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/align/components
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/align/components')
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js22
1 files changed, 16 insertions, 6 deletions
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js
index b06916f..3d52db8 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js
@@ -59,12 +59,22 @@ export const AnnotationFormImage = ({ annotation, media, handleSettingsSelect, h
/>
{(annotation.settings.fullscreen && !annotation.settings.inline) && (
- <Checkbox
- label="Hide inline image"
- name="hide_poster_inline"
- checked={annotation.settings.hide_poster_inline}
- onChange={handleSettingsSelect}
- />
+ <div>
+ <Checkbox
+ label="Hide inline image"
+ name="hide_poster_inline"
+ checked={annotation.settings.hide_poster_inline}
+ onChange={handleSettingsSelect}
+ />
+ <Select
+ title='Inline background color'
+ name='inline_color'
+ selected={annotation.settings.inline_color}
+ options={CURTAIN_COLOR_SELECT_OPTIONS}
+ defaultOption='Pick a color'
+ onChange={handleSettingsSelect}
+ />
+ </div>
)}
<Checkbox