diff options
author | ThibG <thib@sitedethib.com> | 2020-06-15 16:43:30 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-06-17 17:20:14 +0200 |
commit | 65a9b788fc4fc9cf57cee8e8a7cae5dca8f97a5e (patch) | |
tree | f85c2975fc2238fa4d1d504e655dbdac3d27a914 /app/javascript | |
parent | 45fbba2742b8b7bf278b68573b39bfb6682e5481 (diff) |
[Glitch] Fix initial audio volume not corresponding to what's displayed
Port 755e8c76ab28a99905c66082757d892939e70c49 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/features/audio/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/audio/index.js b/app/javascript/flavours/glitch/features/audio/index.js index 49e91227f..ba3534492 100644 --- a/app/javascript/flavours/glitch/features/audio/index.js +++ b/app/javascript/flavours/glitch/features/audio/index.js @@ -125,6 +125,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; } |