Fix initial audio volume not corresponding to what's displayed (#14057)

lolsob-rspec
ThibG 2020-06-15 16:43:30 +02:00 committed by GitHub
parent 7e4cd8a782
commit 3f5fa64211
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}