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:
parent
2a11d37995
commit
8f59cb7659
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user