mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Fix off-by-one in display range retrieval logic
This commit is contained in:
parent
4590d9b93b
commit
ee0efa0b4c
@ -590,7 +590,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
displayedRange = newDisplayRange;
|
||||
|
||||
var toDisplay = visibleItems.GetRange(displayedRange.first, displayedRange.last - displayedRange.first);
|
||||
var toDisplay = visibleItems.GetRange(displayedRange.first, displayedRange.last - displayedRange.first + 1);
|
||||
|
||||
foreach (var panel in ScrollableContent.Children)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user