1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix combat log position

This commit is contained in:
Ivan Savenko 2022-11-29 17:18:30 +02:00
parent a512e0d58f
commit de5616bb3b

View File

@ -100,7 +100,9 @@ void CBattleConsole::scrollDown(ui32 by)
CBattleConsole::CBattleConsole(const Rect & position) : lastShown(-1)
{
pos = position;
pos += position.topLeft();
pos.w = position.w;
pos.h = position.h;
}
void CBattleConsole::clearMatching(const std::string & Text)