diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-11-03 18:17:03 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-11-03 18:17:03 +0100 |
| commit | 3684497c695edb23748d007564a3a6f8c46b403c (patch) | |
| tree | 3970258df0c81abb7cc3a6b8ca07ba7ba0688da2 /animism-align/frontend/app/views/align | |
| parent | c89b17daf372c1cc6f83e5b456f888676990e721 (diff) | |
fullscreen images in the inline flow
Diffstat (limited to 'animism-align/frontend/app/views/align')
| -rw-r--r-- | animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js | 22 |
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 |
