ServiceMenu: ja es funcional en totes les seccions del programa
This commit is contained in:
@@ -215,21 +215,21 @@ namespace globalInputs
|
||||
// Derecha
|
||||
if (Input::get()->checkInput(InputAction::RIGHT, INPUT_DO_NOT_ALLOW_REPEAT, InputDeviceToUse::KEYBOARD))
|
||||
{
|
||||
ServiceMenu::get()->setSelectorRight();
|
||||
ServiceMenu::get()->adjustOption(true);
|
||||
return;
|
||||
}
|
||||
|
||||
// Izquierda
|
||||
if (Input::get()->checkInput(InputAction::LEFT, INPUT_DO_NOT_ALLOW_REPEAT, InputDeviceToUse::KEYBOARD))
|
||||
{
|
||||
ServiceMenu::get()->setSelectorLeft();
|
||||
ServiceMenu::get()->adjustOption(false);
|
||||
return;
|
||||
}
|
||||
|
||||
// Aceptar
|
||||
if (Input::get()->checkInput(InputAction::START, INPUT_DO_NOT_ALLOW_REPEAT, InputDeviceToUse::KEYBOARD))
|
||||
{
|
||||
ServiceMenu::get()->acceptSelection();
|
||||
ServiceMenu::get()->selectOption();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ namespace globalInputs
|
||||
}
|
||||
|
||||
// Saltar sección
|
||||
if (Input::get()->checkAnyButtonPressed())
|
||||
if (Input::get()->checkAnyButtonPressed() && !ServiceMenu::get()->isEnabled())
|
||||
{
|
||||
skipSection();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user