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

Hide ruleset selector when on kudosu ranking

This commit is contained in:
Joseph Madamba 2024-02-06 12:54:53 -08:00
parent 2a11d37995
commit 8f59cb7659

View File

@ -39,5 +39,15 @@ namespace osu.Game.Overlays.Rankings
Icon = OsuIcon.Ranking;
}
}
protected override void LoadComplete()
{
base.LoadComplete();
Current.BindValueChanged(scope =>
{
rulesetSelector.FadeTo(scope.NewValue <= RankingsScope.Country ? 1 : 0, 200, Easing.OutQuint);
});
}
}
}