1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Do not scroll lists in lobby if another item is hovered

This commit is contained in:
Ivan Savenko
2025-02-06 14:20:45 +00:00
parent f4a218285f
commit 367aa94227
3 changed files with 17 additions and 0 deletions

View File

@ -168,6 +168,11 @@ std::shared_ptr<CIntObject> CListBox::getItem(size_t which)
return std::shared_ptr<CIntObject>();
}
std::shared_ptr<CSlider> CListBox::getSlider()
{
return slider;
}
size_t CListBox::getIndexOf(std::shared_ptr<CIntObject> item)
{
size_t i=first;