fix: la clase title no hacía fade al pasar al modo demo
This commit is contained in:
@@ -69,9 +69,9 @@ void DefineButtons::render()
|
||||
{
|
||||
if (enabled)
|
||||
{
|
||||
text->writeCentered(x, y - 20, "PLAYER " + std::to_string(indexController + 1));
|
||||
text->writeCentered(x, y - 10, controllerNames[indexController]);
|
||||
text->writeCentered(x, y, buttons[indexButton].label);
|
||||
text->writeCentered(x, y - 10, "PLAYER " + std::to_string(indexController + 1));
|
||||
text->writeCentered(x, y, controllerNames[indexController]);
|
||||
text->writeCentered(x, y + 10, buttons[indexButton].label);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,6 +143,8 @@ void DefineButtons::incIndexButton()
|
||||
// Guarda los cambios en las opciones
|
||||
saveBindingsToOptions();
|
||||
|
||||
//input->allActive(indexController);
|
||||
|
||||
// Reinicia variables
|
||||
indexButton = 0;
|
||||
indexController = 0;
|
||||
|
||||
Reference in New Issue
Block a user