Make Lua prints fade out better
This commit is contained in:
parent
5f90a80fe3
commit
133c8db0c7
@ -2107,7 +2107,7 @@ void GameView::OnDraw()
|
||||
break;
|
||||
}
|
||||
startY -= 14;
|
||||
g->fillrect(startX-3, startY-3, Graphics::textwidth(message)+6, 14, 0, 0, 0, 100);
|
||||
g->fillrect(startX-3, startY-3, Graphics::textwidth(message)+6, 14, 0, 0, 0, std::min(100, alpha));
|
||||
g->drawtext(startX, startY, message, 255, 255, 255, alpha);
|
||||
(*iter).second -= 3;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user