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:
@ -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;
|
||||
|
Reference in New Issue
Block a user