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:
parent
82f9ca3de9
commit
220c8ba2c4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user