Fix window scrollbar not able to navigate to the end of large lists#19515
Conversation
|
Nice find. Changelog entry? |
|
Sounds like this fixes one of the oldest issues: #592 |
|
I was actually looking for an existing issue but I couldn't find it, ill change the entry. Thanks. |
|
Maybe the changelog entry should say |
|
Considering the original couldn't have that many things in a list its probably OpenRCT2 specific, not exactly a bug either. |
|
I've tested this in the object selection window with a small scenery list of ~9000+ objects and it works as expected :) Scenery hoarders rejoice! |
Not for staff, but it did occur with the object list in RCT2, for which vanilla had no hard limit.
Lovely, I was already wondering whether this would also fix that bug. |
With 9000+ staff you could only scroll to half of the list while the scrollbar would sit at the end, this fixes the issue by using bigger integer types, the issue was actually an overflow.
Closes #592