mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 02:46:08 +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)
|
foreach (var b in set.Beatmaps)
|
||||||
{
|
{
|
||||||
|
if (!b.Visible)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (b.State.Value == CarouselItemState.Selected)
|
if (b.State.Value == CarouselItemState.Selected)
|
||||||
{
|
{
|
||||||
scrollTarget += b.TotalHeight / 2;
|
scrollTarget += b.TotalHeight / 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user