Fix incorrect vertical offsets when difficulties are filtered away

This commit is contained in:
Dean Herbert
2020-10-12 20:02:45 +09:00
parent 82f9ca3de9
commit 220c8ba2c4

View File

@ -723,6 +723,9 @@ namespace osu.Game.Screens.Select
foreach (var b in set.Beatmaps)
{
if (!b.Visible)
continue;
if (b.State.Value == CarouselItemState.Selected)
{
scrollTarget += b.TotalHeight / 2;