Adjust SpotlightSelector animations

This commit is contained in:
Andrei Zavatski
2020-02-05 13:01:50 +03:00
parent cb30f463fb
commit 6708e271ac
2 changed files with 56 additions and 35 deletions

View File

@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Rankings
}
private void onCurrentChanged(ValueChangedEvent<RankingsScope> scope) =>
SpotlightSelector.FadeTo(scope.NewValue == RankingsScope.Spotlights ? 1 : 0, 200, Easing.OutQuint);
SpotlightSelector.State.Value = scope.NewValue == RankingsScope.Spotlights ? Visibility.Visible : Visibility.Hidden;
private class RankingsTitle : ScreenTitle
{