1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00

Fix single results not showing up

This commit is contained in:
Dean Herbert 2020-10-12 20:11:10 +09:00
parent 220c8ba2c4
commit ce67f65084

View File

@ -578,7 +578,7 @@ namespace osu.Game.Screens.Select
// as we can't be 100% sure on the size of individual carousel drawables,
// always play it safe and extend bounds by one.
firstIndex = Math.Max(0, firstIndex - 1);
lastIndex = Math.Min(yPositions.Count - 1, lastIndex + 1);
lastIndex = Math.Min(yPositions.Count, lastIndex + 1);
if (revalidateItems || firstIndex != displayedRange.first || lastIndex != displayedRange.last)
{