allow using guest profiles only once,
bugfix: update table rows visibility in main screen
This commit is contained in:
1 parent
ffd413165d
commit
e116f4cfb3
2 files changed
+13
-4
No files matched your search
@@ -355,10 +355,10 @@ namespace Vocaluxe.PartyModes
|
||||
|
||||
for (int i = 0; i < Table.Count; i++)
|
||||
{
|
||||
TableRow row = Table[i];
|
||||
|
||||
if (i < GameState.ResultTable.Count)
|
||||
{
|
||||
TableRow row = Table[i];
|
||||
|
||||
row.Pos.Visible = true;
|
||||
row.Name.Visible = true;
|
||||
row.Rounds.Visible = true;
|
||||
@@ -372,6 +372,15 @@ namespace Vocaluxe.PartyModes
|
||||
row.SingPoints.Text = GameState.ResultTable[i].SumSingPoints.ToString();
|
||||
row.GamePoints.Text = GameState.ResultTable[i].NumGamePoints.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
row.Pos.Visible = false;
|
||||
row.Name.Visible = false;
|
||||
row.Rounds.Visible = false;
|
||||
row.Won.Visible = false;
|
||||
row.SingPoints.Visible = false;
|
||||
row.GamePoints.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user