Optimizado el renderizado de notificaciones
This commit is contained in:
@@ -140,4 +140,15 @@ void Notify::showText(std::string text)
|
||||
|
||||
// Añade la notificación a la lista
|
||||
notifications.push_back(n);
|
||||
}
|
||||
|
||||
// Indica si hay notificaciones activas
|
||||
bool Notify::active()
|
||||
{
|
||||
if ((int)notifications.size() > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user