mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Merge pull request #18984 from frenzibyte/fix-player-star-difficulty-display
Fix replays showing incorrect star difficulty on load
This commit is contained in:
commit
ca75d5fe1d
@ -197,21 +197,19 @@ namespace osu.Game.Screens.Play
|
||||
starRatingDisplay.Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
starRatingDisplay.Hide();
|
||||
|
||||
starDifficulty.ValueChanged += d =>
|
||||
{
|
||||
Debug.Assert(d.NewValue != null);
|
||||
starDifficulty.ValueChanged += d =>
|
||||
{
|
||||
Debug.Assert(d.NewValue != null);
|
||||
|
||||
starRatingDisplay.Current.Value = d.NewValue.Value;
|
||||
starRatingDisplay.Current.Value = d.NewValue.Value;
|
||||
|
||||
versionFlow.AutoSizeDuration = 300;
|
||||
versionFlow.AutoSizeEasing = Easing.OutQuint;
|
||||
versionFlow.AutoSizeDuration = 300;
|
||||
versionFlow.AutoSizeEasing = Easing.OutQuint;
|
||||
|
||||
starRatingDisplay.FadeIn(300, Easing.InQuint);
|
||||
};
|
||||
}
|
||||
starRatingDisplay.FadeIn(300, Easing.InQuint);
|
||||
};
|
||||
}
|
||||
|
||||
private class MetadataLineLabel : OsuSpriteText
|
||||
|
Loading…
Reference in New Issue
Block a user