Skip to content

Commit

Permalink
fixed resetting volumes upon changing the music.
Browse files Browse the repository at this point in the history
  • Loading branch information
davipk committed May 4, 2019
1 parent 173f7d7 commit cc11dfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HaRepacker/GUI/Panels/SubPanels/SoundPlayer.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ private void PrepareAudioForPlayback()
if (currAudio == null && soundProp != null)
{
currAudio = new WzMp3Streamer(soundProp, checkbox_Replay.IsChecked == true);
currAudio.Volume = (float)(slider_volume.Value / 100f);
}
}
#endregion
Expand Down

0 comments on commit cc11dfe

Please sign in to comment.