mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed a super old fence-post error.
This commit is contained in:
parent
64691f8c83
commit
29fb896d33
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user