mirror of
https://github.com/ppy/osu.git
synced 2025-01-09 03:02:56 +08:00
Hide ruleset selector when on kudosu ranking
This commit is contained in:
parent
2a11d37995
commit
8f59cb7659
@ -39,5 +39,15 @@ namespace osu.Game.Overlays.Rankings
|
|||||||
Icon = OsuIcon.Ranking;
|
Icon = OsuIcon.Ranking;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
|
Current.BindValueChanged(scope =>
|
||||||
|
{
|
||||||
|
rulesetSelector.FadeTo(scope.NewValue <= RankingsScope.Country ? 1 : 0, 200, Easing.OutQuint);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user