1
0
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:
Dean Herbert
2025-05-26 15:34:32 +09:00
Unverified
parent 19f8096dc9
commit ed51f2345a
@@ -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