Fix some bugs.
This commit is contained in:
1 parent
19c47072cb
commit
96d38b5c35
2 files changed
+26
-2
No files matched your search
@@ -283,7 +283,7 @@ namespace Vocaluxe.PartyModes
|
|||||||
|
|
||||||
for (int i = 0; i < PlayerDestinationButtons.Count; i++)
|
for (int i = 0; i < PlayerDestinationButtons.Count; i++)
|
||||||
{
|
{
|
||||||
PlayerDestinationButtons[i].Text.Text = "Player " + i;
|
PlayerDestinationButtons[i].Text.Text = "Player " + (i+1);
|
||||||
if (i <= NumPlayers)
|
if (i <= NumPlayers)
|
||||||
PlayerDestinationButtons[i].Visible = true;
|
PlayerDestinationButtons[i].Visible = true;
|
||||||
else
|
else
|
||||||
@@ -291,6 +291,7 @@ namespace Vocaluxe.PartyModes
|
|||||||
}
|
}
|
||||||
|
|
||||||
UpdateButtonPlayerChoose();
|
UpdateButtonPlayerChoose();
|
||||||
|
UpdateButtonPlayerDestination();
|
||||||
|
|
||||||
UpdateButtonNext();
|
UpdateButtonNext();
|
||||||
}
|
}
|
||||||
@@ -336,6 +337,17 @@ namespace Vocaluxe.PartyModes
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void UpdateButtonPlayerDestination()
|
||||||
|
{
|
||||||
|
for (int i = 0; i < PlayerDestinationButtons.Count; i++)
|
||||||
|
{
|
||||||
|
if(NumPlayers > i)
|
||||||
|
PlayerDestinationButtons[i].Visible = true;
|
||||||
|
else
|
||||||
|
PlayerDestinationButtons[i].Visible = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void UpdateButtonNext()
|
private void UpdateButtonNext()
|
||||||
{
|
{
|
||||||
Buttons[htButtons(ButtonNext)].Visible = true;
|
Buttons[htButtons(ButtonNext)].Visible = true;
|
||||||
|
|||||||
@@ -283,7 +283,7 @@ namespace Vocaluxe.PartyModes
|
|||||||
|
|
||||||
for (int i = 0; i < PlayerDestinationButtons.Count; i++)
|
for (int i = 0; i < PlayerDestinationButtons.Count; i++)
|
||||||
{
|
{
|
||||||
PlayerDestinationButtons[i].Text.Text = "Player " + i;
|
PlayerDestinationButtons[i].Text.Text = "Player " + (i+1);
|
||||||
if (i <= NumPlayers)
|
if (i <= NumPlayers)
|
||||||
PlayerDestinationButtons[i].Visible = true;
|
PlayerDestinationButtons[i].Visible = true;
|
||||||
else
|
else
|
||||||
@@ -291,6 +291,7 @@ namespace Vocaluxe.PartyModes
|
|||||||
}
|
}
|
||||||
|
|
||||||
UpdateButtonPlayerChoose();
|
UpdateButtonPlayerChoose();
|
||||||
|
UpdateButtonPlayerDestination();
|
||||||
|
|
||||||
UpdateButtonNext();
|
UpdateButtonNext();
|
||||||
}
|
}
|
||||||
@@ -336,6 +337,17 @@ namespace Vocaluxe.PartyModes
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void UpdateButtonPlayerDestination()
|
||||||
|
{
|
||||||
|
for (int i = 0; i < PlayerDestinationButtons.Count; i++)
|
||||||
|
{
|
||||||
|
if(NumPlayers > i)
|
||||||
|
PlayerDestinationButtons[i].Visible = true;
|
||||||
|
else
|
||||||
|
PlayerDestinationButtons[i].Visible = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void UpdateButtonNext()
|
private void UpdateButtonNext()
|
||||||
{
|
{
|
||||||
Buttons[htButtons(ButtonNext)].Visible = true;
|
Buttons[htButtons(ButtonNext)].Visible = true;
|
||||||
|
|||||||
Reference in new issue
Block a user