summaryrefslogtreecommitdiff
path: root/frontend/app/views/tile/components/tile.form.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-23 12:33:40 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-23 12:33:40 +0100
commitfb82ff9fa188769f7cf7bb02c1c574201cbe9f85 (patch)
tree26aa090f46be50e53a79a2a70be67341a3a7d27d /frontend/app/views/tile/components/tile.form.js
parent285bc89a400c2faa7b6c7c327300c7842711935b (diff)
disablePictureInPicture={true}
Diffstat (limited to 'frontend/app/views/tile/components/tile.form.js')
-rw-r--r--frontend/app/views/tile/components/tile.form.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/app/views/tile/components/tile.form.js b/frontend/app/views/tile/components/tile.form.js
index c2a8f79..8f6fe83 100644
--- a/frontend/app/views/tile/components/tile.form.js
+++ b/frontend/app/views/tile/components/tile.form.js
@@ -601,6 +601,17 @@ class TileForm extends Component {
onChange={this.handleSettingsSelect}
/>
</div>
+ {!temporaryTile.settings.muted && (
+ <Slider
+ title='Volume'
+ name='volume'
+ value={('volume' in temporaryTile.settings) ? temporaryTile.settings.volume : 1.0}
+ onChange={this.handleSettingsSelect}
+ min={0.0}
+ max={1.0}
+ step={0.01}
+ />
+ )}
{temporaryTile.settings.loop && (
<div className='row'>
<Checkbox