mirror of
https://github.com/osukey/osukey.git
synced 2025-07-22 19:00:05 +09:00
Fix incorrect vertical offsets when difficulties are filtered away
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user