1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

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;