Minor bug fix.

--HG--
branch : dev
This commit is contained in:
Martín Lucas Golini
2019-11-08 03:13:00 -03:00
parent 203bf674d5
commit 94a1328690

View File

@@ -522,7 +522,7 @@ void UIListBox::updateScroll( bool fromScrollChange ) {
updateScrollBarState();
bool visibleItems = mContainer->getSize().getHeight() / mRowHeight;
Uint32 visibleItems = mContainer->getSize().getHeight() / mRowHeight;
mItemsNotVisible = (Uint32)mItems.size() - visibleItems;
Int32 scrolleable = (Int32)mItems.size() * mRowHeight - mContainer->getSize().getHeight();
bool isScrollVisible = mVScrollBar->isVisible();