Fix initial audio volume not corresponding to what's displayed (#14057)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user