Fix for sound-options.
This commit is contained in:
1 parent
a7f4c1ab10
commit
3b759b608e
1 file changed
+7
@@ -120,6 +120,10 @@ namespace Vocaluxe.Screens
|
||||
|
||||
public override bool UpdateGame()
|
||||
{
|
||||
if (_BackgroundMusicVolume != CConfig.BackgroundMusicVolume)
|
||||
{
|
||||
SelectSlides[htSelectSlides(SelectSlideBackgroundMusicVolume)].Selection = CConfig.BackgroundMusicVolume / 5;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -134,6 +138,9 @@ namespace Vocaluxe.Screens
|
||||
base.OnShow();
|
||||
_BackgroundMusic = CConfig.BackgroundMusic;
|
||||
_BackgroundMusicVolume = CConfig.BackgroundMusicVolume;
|
||||
|
||||
SelectSlides[htSelectSlides(SelectSlideGameMusicVolume)].Selection = CConfig.GameMusicVolume / 5;
|
||||
SelectSlides[htSelectSlides(SelectSlidePreviewMusicVolume)].Selection = CConfig.PreviewMusicVolume / 5;
|
||||
}
|
||||
private void SaveConfig()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user