Las notificaciones se dibujan a la mitad de resolución del juego

This commit is contained in:
2022-11-19 09:39:14 +01:00
parent ea994bcc2f
commit 1144fc3626
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,6 @@ void Notify::showText(std::string text)
const int despH = this->text->getCharacterSize() / 2;
const int despV = despH;
const int travelDist = height + despV;
// const int offset = (int)notifications.size() * (travelDist) + despV;
const int offset = (int)notifications.size() > 0 ? notifications.back().y + travelDist : despV;
// Crea la notificacion