1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Remove excessive totalRedraw's

This commit is contained in:
Ivan Savenko
2023-03-22 00:57:08 +02:00
parent a78f7de9cd
commit c81d57ab8c
4 changed files with 5 additions and 6 deletions

View File

@@ -77,7 +77,7 @@ void CList::CListItem::onSelect(bool on)
if(on)
selection = genSelection();
select(on);
GH.totalRedraw();
redraw();
}
CList::CList(int Size, Point position, std::string btnUp, std::string btnDown, size_t listAmount, int helpUp, int helpDown, CListBox::CreateFunc create)