diff options
author | ThibG <thib@sitedethib.com> | 2020-06-15 16:43:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 16:43:30 +0200 |
commit | 755e8c76ab28a99905c66082757d892939e70c49 (patch) | |
tree | 10f0e002b1f61d7bb88b075feff73e1db5aa4d3d /app/javascript | |
parent | df30002df8aded4750db7ba7fb2e7948b8d8b3db (diff) |
Fix initial audio volume not corresponding to what's displayed (#14057)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/audio/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/audio/index.js b/app/javascript/mastodon/features/audio/index.js index 95c9c7751..baad1c0e5 100644 --- a/app/javascript/mastodon/features/audio/index.js +++ b/app/javascript/mastodon/features/audio/index.js @@ -128,6 +128,7 @@ class Audio extends React.PureComponent { this.wavesurfer.createPeakCache(); this.wavesurfer.load(this.props.src); this.wavesurfer.toggleInteraction(); + this.wavesurfer.setVolume(this.state.volume); this.loaded = true; } |