diff --git a/osu.Game/Screens/Select/BeatmapInfoWedge.cs b/osu.Game/Screens/Select/BeatmapInfoWedge.cs index 1a5a09afa3..7db1016f62 100644 --- a/osu.Game/Screens/Select/BeatmapInfoWedge.cs +++ b/osu.Game/Screens/Select/BeatmapInfoWedge.cs @@ -287,12 +287,14 @@ namespace osu.Game.Screens.Select { TitleLabel = new OsuSpriteText { + Current = { BindTarget = titleBinding }, Font = OsuFont.GetFont(size: 28, italics: true), RelativeSizeAxes = Axes.X, Truncate = true, }, ArtistLabel = new OsuSpriteText { + Current = { BindTarget = artistBinding }, Font = OsuFont.GetFont(size: 17, italics: true), RelativeSizeAxes = Axes.X, Truncate = true, @@ -314,9 +316,6 @@ namespace osu.Game.Screens.Select } }; - titleBinding.BindValueChanged(_ => setMetadata()); - artistBinding.BindValueChanged(_ => setMetadata(), true); - addInfoLabels(); } @@ -352,12 +351,6 @@ namespace osu.Game.Screens.Select }, true); } - private void setMetadata() - { - ArtistLabel.Text = artistBinding.Value; - TitleLabel.Text = titleBinding.Value; - } - private void addInfoLabels() { if (working.Beatmap?.HitObjects?.Any() != true)