Añadido jscore.h

This commit is contained in:
2022-11-15 17:03:57 +01:00
parent 860c35992b
commit 452ef4c91d
3 changed files with 138 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ void Notify::update()
{
const float step = (notifications.at(i).counter / (float)height);
const int alpha = 255 * step;
const int alpha = 255 * (1 - step);
notifications.at(i).rect.y--;
notifications.at(i).texture->setAlpha(alpha);