Añadido jscore.h
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user