1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Implemented Scrollable class, to server as common base for such classes

This commit is contained in:
Ivan Savenko
2023-05-30 18:10:22 +03:00
parent 6fe00ad55c
commit 052d0d314a
14 changed files with 197 additions and 151 deletions

View File

@ -113,7 +113,7 @@ void CListBox::updatePositions()
{
redraw();
if (slider)
slider->moveTo((int)first);
slider->scrollTo((int)first);
}
}