summaryrefslogtreecommitdiff
path: root/frontend/app/views/tile/components/tile.form.js
diff options
context:
space:
mode:
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