Fixed an issue where the wrong scroll indicators could be displayed.

This commit is contained in:
Leon Styhre 2021-10-17 16:14:28 +02:00
parent 690083a123
commit 11ca17fc91

View file

@ -208,7 +208,9 @@ void ComponentList::updateCameraOffset()
i++;
}
if (mCameraOffset < oldCameraOffset)
if (mCameraOffset < oldCameraOffset &&
(oldCameraOffset > mSelectorBarOffset ||
mScrollIndicatorStatus != ComponentList::SCROLL_NONE))
mBottomCameraOffset = false;
if (mCameraOffset < 0.0f)