Fixed a super old fence-post error.

This commit is contained in:
casey langen 2018-12-18 22:25:51 -08:00
parent 64691f8c83
commit 29fb896d33

View File

@ -68,7 +68,7 @@ void Scrollbar::Draw(ListWindow* list, Window* target) {
float total = (float) std::max(minY, adapter->GetEntryCount());
int yOffset;
if (range > total) {
if (range >= total) {
yOffset = -1;
}
else {