[Glitch] Fix initial audio volume not corresponding to what's displayed
Port 3f5fa64211
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
lolsob-rspec
parent
14272c3a0e
commit
743cef53d8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue