diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-13 16:40:48 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-13 16:40:48 +0200 |
| commit | 3365eccdaf2c0b6d49ecac33b584ec32bd8652a6 (patch) | |
| tree | 1d7587268db92a2f9631c30e6a6e42395d4e66cf /frontend/app/views/tile/forms/tile.form.misc.js | |
| parent | c4afa5d3bedff9bbe1b0b848d3b9f89fe8874632 (diff) | |
stl more shiny
Diffstat (limited to 'frontend/app/views/tile/forms/tile.form.misc.js')
| -rw-r--r-- | frontend/app/views/tile/forms/tile.form.misc.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/app/views/tile/forms/tile.form.misc.js b/frontend/app/views/tile/forms/tile.form.misc.js index dff5e68..fd72ad3 100644 --- a/frontend/app/views/tile/forms/tile.form.misc.js +++ b/frontend/app/views/tile/forms/tile.form.misc.js @@ -19,6 +19,16 @@ export default function TileMiscForm({ tile, parent }) { onChange={parent.handleSettingsSelect} /> </div> + {tile.settings.units === "video" && ( + <Checkbox + label="Scale to video" + name="scale_to_video" + className='short' + checked={tile.settings.scale_to_video} + onChange={parent.handleSettingsSelect} + autoComplete="off" + /> + )} <Slider title='Opacity' name='opacity' |
