disable button sing in bg controls if a party mode is running
This commit is contained in:
1 parent
30c7af290a
commit
862e50b6aa
1 file changed
+2
-2
@@ -187,7 +187,7 @@ namespace Vocaluxe.Screens
|
|||||||
Buttons[htButtons(ButtonToBackgroundVideo)].Pressed = VideoBackground;
|
Buttons[htButtons(ButtonToBackgroundVideo)].Pressed = VideoBackground;
|
||||||
Buttons[htButtons(ButtonShowVideo)].Pressed = _VideoPreview;
|
Buttons[htButtons(ButtonShowVideo)].Pressed = _VideoPreview;
|
||||||
Buttons[htButtons(ButtonRepeat)].Pressed = CBackgroundMusic.RepeatSong;
|
Buttons[htButtons(ButtonRepeat)].Pressed = CBackgroundMusic.RepeatSong;
|
||||||
Buttons[htButtons(ButtonSing)].Visible = CBackgroundMusic.CanSing;
|
Buttons[htButtons(ButtonSing)].Visible = CBackgroundMusic.CanSing && CParty.CurrentPartyModeID == -1;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ namespace Vocaluxe.Screens
|
|||||||
Buttons[htButtons(ButtonPause)].Visible = CBackgroundMusic.Playing;
|
Buttons[htButtons(ButtonPause)].Visible = CBackgroundMusic.Playing;
|
||||||
Buttons[htButtons(ButtonPlay)].Visible = !CBackgroundMusic.Playing;
|
Buttons[htButtons(ButtonPlay)].Visible = !CBackgroundMusic.Playing;
|
||||||
Texts[htTexts(TextCurrentSong)].Text = CBackgroundMusic.ArtistAndTitle;
|
Texts[htTexts(TextCurrentSong)].Text = CBackgroundMusic.ArtistAndTitle;
|
||||||
|
|
||||||
return base.Draw();
|
return base.Draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user