From 862e50b6aacc9eab49ac8b45175d2401ac374953 Mon Sep 17 00:00:00 2001 From: Alexander Eckart Date: Sun, 23 Dec 2012 23:08:46 +0100 Subject: [PATCH] disable button sing in bg controls if a party mode is running --- Vocaluxe/Screens/CPopupScreenPlayerControl.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vocaluxe/Screens/CPopupScreenPlayerControl.cs b/Vocaluxe/Screens/CPopupScreenPlayerControl.cs index ee383668..495b9cdf 100644 --- a/Vocaluxe/Screens/CPopupScreenPlayerControl.cs +++ b/Vocaluxe/Screens/CPopupScreenPlayerControl.cs @@ -187,7 +187,7 @@ namespace Vocaluxe.Screens Buttons[htButtons(ButtonToBackgroundVideo)].Pressed = VideoBackground; Buttons[htButtons(ButtonShowVideo)].Pressed = _VideoPreview; Buttons[htButtons(ButtonRepeat)].Pressed = CBackgroundMusic.RepeatSong; - Buttons[htButtons(ButtonSing)].Visible = CBackgroundMusic.CanSing; + Buttons[htButtons(ButtonSing)].Visible = CBackgroundMusic.CanSing && CParty.CurrentPartyModeID == -1; return true; } @@ -206,7 +206,7 @@ namespace Vocaluxe.Screens Buttons[htButtons(ButtonPause)].Visible = CBackgroundMusic.Playing; Buttons[htButtons(ButtonPlay)].Visible = !CBackgroundMusic.Playing; Texts[htTexts(TextCurrentSong)].Text = CBackgroundMusic.ArtistAndTitle; - + return base.Draw(); }