Skip to content

Commit

Permalink
Fix initial audio volume not corresponding to what's displayed (masto…
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored and Mage committed Jan 14, 2022
1 parent fcc52f6 commit 975ac0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/javascript/mastodon/features/audio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 975ac0b

Please sign in to comment.