Fix: Right number of drop-areas OnShow...
This commit is contained in:
1 parent
86cfdab4ad
commit
ea6471ad80
1 file changed
+2
-7
@@ -124,7 +124,7 @@ namespace Vocaluxe.Screens
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!processed)
|
if (!processed)
|
||||||
UpdateSelection();
|
UpdatePlayerNumber();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@@ -225,7 +225,6 @@ namespace Vocaluxe.Screens
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!processed)
|
if (!processed)
|
||||||
UpdateSelection();
|
|
||||||
UpdatePlayerNumber();
|
UpdatePlayerNumber();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -249,7 +248,7 @@ namespace Vocaluxe.Screens
|
|||||||
NameSelections[htNameSelections(NameSelection)].Init();
|
NameSelections[htNameSelections(NameSelection)].Init();
|
||||||
|
|
||||||
UpdateSlides();
|
UpdateSlides();
|
||||||
UpdateVisibility();
|
UpdatePlayerNumber();
|
||||||
CheckMics();
|
CheckMics();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -307,8 +306,6 @@ namespace Vocaluxe.Screens
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void UpdatePlayerNumber()
|
private void UpdatePlayerNumber()
|
||||||
{
|
|
||||||
if (CConfig.NumPlayer != (int)SelectSlides[htSelectSlides(SelectSlidePlayerNumber)].Selection + 1)
|
|
||||||
{
|
{
|
||||||
CConfig.NumPlayer = (int)SelectSlides[htSelectSlides(SelectSlidePlayerNumber)].Selection + 1;
|
CConfig.NumPlayer = (int)SelectSlides[htSelectSlides(SelectSlidePlayerNumber)].Selection + 1;
|
||||||
CGame.NumPlayer = (int)SelectSlides[htSelectSlides(SelectSlidePlayerNumber)].Selection + 1;
|
CGame.NumPlayer = (int)SelectSlides[htSelectSlides(SelectSlidePlayerNumber)].Selection + 1;
|
||||||
@@ -327,8 +324,6 @@ namespace Vocaluxe.Screens
|
|||||||
}
|
}
|
||||||
CConfig.SaveConfig();
|
CConfig.SaveConfig();
|
||||||
CheckMics();
|
CheckMics();
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateVisibility()
|
private void UpdateVisibility()
|
||||||
|
|||||||
Reference in new issue
Block a user