FIX: enterID no actualizaba las notificaciones de pantalla

This commit is contained in:
2023-09-24 09:41:49 +02:00
parent 58d3a75976
commit 26f7cf2a37

View File

@@ -170,6 +170,9 @@ void EnterID::update()
// Actualiza el cursor // Actualiza el cursor
cursor = (counter % 20 >= 10) ? " " : "_"; cursor = (counter % 20 >= 10) ? " " : "_";
// Actualiza las notificaciones
screen->updateNotifier();
} }
} }
@@ -307,7 +310,7 @@ void EnterID::initName()
pos = 0; pos = 0;
} }
else else
{// En caso contrario, copia el texto al vector y coloca el cursor en posición { // En caso contrario, copia el texto al vector y coloca el cursor en posición
const int len = std::min((int)options->online.jailerID.size(), maxLenght); const int len = std::min((int)options->online.jailerID.size(), maxLenght);
for (int i = 0; i < len; ++i) for (int i = 0; i < len; ++i)
{ {