From ed51f2345a4711e18e00979171f3398efa9934fe Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 26 May 2025 15:34:32 +0900 Subject: [PATCH] Adjust `BeatmapMetadataDisplay` to account for stars always being available now --- osu.Game/Screens/Play/BeatmapMetadataDisplay.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/osu.Game/Screens/Play/BeatmapMetadataDisplay.cs b/osu.Game/Screens/Play/BeatmapMetadataDisplay.cs index 2626dcac94..08ea0d0a90 100644 --- a/osu.Game/Screens/Play/BeatmapMetadataDisplay.cs +++ b/osu.Game/Screens/Play/BeatmapMetadataDisplay.cs @@ -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