mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Fix always rolling up from zero
Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
parent
671d614c92
commit
2de7795844
@ -332,8 +332,13 @@ namespace osu.Game.Screens.Select
|
||||
starDifficulty = difficultyCache.GetBindableDifficulty(working.BeatmapInfo, (cancellationSource = new CancellationTokenSource()).Token);
|
||||
starDifficulty.BindValueChanged(s =>
|
||||
{
|
||||
starRatingDisplay.FadeIn(transition_duration);
|
||||
starRatingDisplay.Current.Value = s.NewValue ?? default;
|
||||
|
||||
// Don't roll the counter on initial display (but still allow it to roll on applying mods etc.)
|
||||
if (!starRatingDisplay.IsPresent)
|
||||
starRatingDisplay.FinishTransforms(true);
|
||||
|
||||
starRatingDisplay.FadeIn(transition_duration);
|
||||
});
|
||||
|
||||
mods.BindValueChanged(m =>
|
||||
|
Loading…
Reference in New Issue
Block a user