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

main
ThibG 4 years ago committed by GitHub
parent df30002df8
commit 755e8c76ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save