mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 20:33:01 +08:00
Adjust BeatmapMetadataDisplay to account for stars always being available now
This commit is contained in:
@@ -190,15 +190,7 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
if (starDifficulty.Value.Stars > 0)
|
||||
{
|
||||
starRatingDisplay.Current.Value = starDifficulty.Value;
|
||||
starRatingDisplay.Show();
|
||||
}
|
||||
else
|
||||
starRatingDisplay.Hide();
|
||||
|
||||
starDifficulty.ValueChanged += d =>
|
||||
starDifficulty.BindValueChanged(d =>
|
||||
{
|
||||
starRatingDisplay.Current.Value = d.NewValue;
|
||||
|
||||
@@ -206,7 +198,7 @@ namespace osu.Game.Screens.Play
|
||||
versionFlow.AutoSizeEasing = Easing.OutQuint;
|
||||
|
||||
starRatingDisplay.FadeIn(300, Easing.InQuint);
|
||||
};
|
||||
}, true);
|
||||
}
|
||||
|
||||
private partial class MetadataLineLabel : OsuSpriteText
|
||||
|
||||
Reference in New Issue
Block a user