Fix keyboard name selection
This commit is contained in:
1 parent
204c608000
commit
8c2db41b36
1 file changed
+13
-3
@@ -180,14 +180,15 @@ namespace Vocaluxe.Screens
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
_UpdateSelectedProfile(_SelectingFastPlayerNr - 1, _SelectedProfileID);
|
_UpdateSelectedProfile(_SelectingFastPlayerNr - 1, _SelectedProfileID);
|
||||||
|
|
||||||
_SelectElement(_Buttons[_ButtonStart]);
|
|
||||||
}
|
}
|
||||||
//Started selecting with 'P'
|
//Started selecting with 'P'
|
||||||
if (_SelectingFast)
|
if (_SelectingFast)
|
||||||
{
|
{
|
||||||
if (_SelectingFastPlayerNr == CGame.NumPlayers)
|
if (_SelectingFastPlayerNr == CGame.NumPlayers)
|
||||||
|
{
|
||||||
resetSelection = true;
|
resetSelection = true;
|
||||||
|
_SelectElement(_Buttons[_ButtonStart]);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_SelectingFastPlayerNr++;
|
_SelectingFastPlayerNr++;
|
||||||
@@ -225,6 +226,7 @@ namespace Vocaluxe.Screens
|
|||||||
|
|
||||||
case Keys.Escape:
|
case Keys.Escape:
|
||||||
resetSelection = true;
|
resetSelection = true;
|
||||||
|
_SelectElement(_SelectSlides[_SelectSlidePlayerNumber]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Keys.Delete:
|
case Keys.Delete:
|
||||||
@@ -323,12 +325,20 @@ namespace Vocaluxe.Screens
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (_SelectingFastPlayerNr > 0 && _SelectingFastPlayerNr <= CConfig.Config.Game.NumPlayers)
|
if (_SelectingFastPlayerNr > 0 && _SelectingFastPlayerNr <= CConfig.Config.Game.NumPlayers)
|
||||||
{
|
{
|
||||||
_SelectingKeyboardActive = true;
|
_SelectingKeyboardActive = true;
|
||||||
_NameSelections[_NameSelection].FastSelection(true, _SelectingFastPlayerNr);
|
_NameSelections[_NameSelection].FastSelection(true, _SelectingFastPlayerNr);
|
||||||
}
|
}
|
||||||
|
if (_NameSelections[_NameSelection].Selected && !_SelectingKeyboardActive)
|
||||||
|
{
|
||||||
|
_SelectingKeyboardActive = true;
|
||||||
|
_ResetPlayerSelections();
|
||||||
|
_SelectingFast = true;
|
||||||
|
_SelectingFastPlayerNr = 1;
|
||||||
|
_SelectingKeyboardActive = true;
|
||||||
|
_NameSelections[_NameSelection].FastSelection(true, _SelectingFastPlayerNr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in new issue
Block a user