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

Hide leaderboard mod filter when on details tab

This commit is contained in:
Joehu 2019-07-25 23:20:56 -07:00
parent 6f2edaad55
commit 0b6cfec21c

View File

@ -28,6 +28,8 @@ namespace osu.Game.Screens.Select
private void invokeOnFilter()
{
OnFilter?.Invoke(tabs.Current.Value, modsCheckbox.Current.Value);
modsCheckbox.FadeTo(tabs.Current.Value == BeatmapDetailTab.Details ? 0 : 1, 200, Easing.OutQuint);
}
[BackgroundDependencyLoader]