From c45b18d133b8dda505b97d552c191aa2309c24dd Mon Sep 17 00:00:00 2001 From: Flamefire Date: Wed, 15 Oct 2014 18:05:50 +0200 Subject: [PATCH] Fix missing avatar --- .../Themes/Default/Screens/PartyScreenChallengeMain.xml | 2 +- .../Themes/Default/Screens/PartyScreenChallengeMedleyMain.xml | 2 +- PartyModes/PartyModeChallenge/CPartyScreenChallengeMain.cs | 4 ++-- .../CPartyScreenChallengeMedleyMain.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Output/PartyModes/Challenge/Themes/Default/Screens/PartyScreenChallengeMain.xml b/Output/PartyModes/Challenge/Themes/Default/Screens/PartyScreenChallengeMain.xml index 2d175dfe..30a6aa78 100644 --- a/Output/PartyModes/Challenge/Themes/Default/Screens/PartyScreenChallengeMain.xml +++ b/Output/PartyModes/Challenge/Themes/Default/Screens/PartyScreenChallengeMain.xml @@ -47,7 +47,7 @@ - Invisible + Visible 0 diff --git a/Output/PartyModes/ChallengeMedley/Themes/Default/Screens/PartyScreenChallengeMedleyMain.xml b/Output/PartyModes/ChallengeMedley/Themes/Default/Screens/PartyScreenChallengeMedleyMain.xml index 3539f737..4460870d 100644 --- a/Output/PartyModes/ChallengeMedley/Themes/Default/Screens/PartyScreenChallengeMedleyMain.xml +++ b/Output/PartyModes/ChallengeMedley/Themes/Default/Screens/PartyScreenChallengeMedleyMain.xml @@ -47,7 +47,7 @@ - Invisible + Visible 0 diff --git a/PartyModes/PartyModeChallenge/CPartyScreenChallengeMain.cs b/PartyModes/PartyModeChallenge/CPartyScreenChallengeMain.cs index 9b73f417..452b9352 100644 --- a/PartyModes/PartyModeChallenge/CPartyScreenChallengeMain.cs +++ b/PartyModes/PartyModeChallenge/CPartyScreenChallengeMain.cs @@ -134,6 +134,7 @@ namespace VocaluxeLib.PartyModes.Challenge _NextPlayerStatics.Add(GetNewStatic(_Statics[_StaticNextPlayer])); _AddStatic(_NextPlayerStatics[_NextPlayerStatics.Count - 1]); } + _Statics[_StaticNextPlayer].Visible = false; } public override void DataToScreen(object receivedData) @@ -474,12 +475,11 @@ namespace VocaluxeLib.PartyModes.Challenge roundRow.TextPlayer[column].Y = numberY; roundRow.TextPlayer[column].MaxWidth = maxw; //Score - roundRow.TextScores[column] = roundRow.TextScores[column]; roundRow.TextScores[column].X = x; roundRow.TextScores[column].Y = numberY + delta; roundRow.TextScores[column].MaxWidth = maxw; } - numberY = numberY + 2*delta; + numberY = numberY + 2 * delta; } numberY = numberY + delta / 2; } diff --git a/PartyModes/PartyModeChallengeMedley/CPartyScreenChallengeMedleyMain.cs b/PartyModes/PartyModeChallengeMedley/CPartyScreenChallengeMedleyMain.cs index ddc1230a..8db8532a 100644 --- a/PartyModes/PartyModeChallengeMedley/CPartyScreenChallengeMedleyMain.cs +++ b/PartyModes/PartyModeChallengeMedley/CPartyScreenChallengeMedleyMain.cs @@ -134,6 +134,7 @@ namespace VocaluxeLib.PartyModes.ChallengeMedley _NextPlayerStatics.Add(GetNewStatic(_Statics[_StaticNextPlayer])); _AddStatic(_NextPlayerStatics[_NextPlayerStatics.Count - 1]); } + _Statics[_StaticNextPlayer].Visible = false; } public override void DataToScreen(object receivedData) @@ -474,7 +475,6 @@ namespace VocaluxeLib.PartyModes.ChallengeMedley roundRow.TextPlayer[column].Y = numberY; roundRow.TextPlayer[column].MaxWidth = maxw; //Score - roundRow.TextScores[column] = roundRow.TextScores[column]; roundRow.TextScores[column].X = x; roundRow.TextScores[column].Y = numberY + delta; roundRow.TextScores[column].MaxWidth = maxw;