1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 23:42:01 +08:00

Add fade to prevent jarring transitions

This commit is contained in:
Bartłomiej Dach
2020-08-26 22:34:02 +02:00
Unverified
parent c3197da3da
commit f8042e6fd3
@@ -94,6 +94,7 @@ namespace osu.Game.Screens.Ranking.Statistics
RelativeSizeAxes = Axes.Both,
Direction = FillDirection.Vertical,
Spacing = new Vector2(30, 15),
Alpha = 0
};
rows.AddRange(newScore.Ruleset.CreateInstance()
@@ -111,6 +112,7 @@ namespace osu.Game.Screens.Ranking.Statistics
spinner.Hide();
content.Add(d);
d.FadeIn(250, Easing.OutQuint);
}, localCancellationSource.Token);
}), localCancellationSource.Token);
}