Remove song source from main wedge display

This was definitely added at someone's request, since I wouldn't have
put it here. But it's displayed below in the details section already and
also not displayed in the updated "wedge" in the new design.

See https://github.com/ppy/osu/discussions/17537 for discussion.
This commit is contained in:
Dean Herbert
2022-03-30 17:46:17 +09:00
parent c311e11496
commit bc0b982102
2 changed files with 5 additions and 5 deletions

View File

@ -314,8 +314,8 @@ namespace osu.Game.Screens.Select
}
};
titleBinding.BindValueChanged(_ => setMetadata(metadata.Source));
artistBinding.BindValueChanged(_ => setMetadata(metadata.Source), true);
titleBinding.BindValueChanged(_ => setMetadata());
artistBinding.BindValueChanged(_ => setMetadata(), true);
addInfoLabels();
}
@ -352,10 +352,10 @@ namespace osu.Game.Screens.Select
}, true);
}
private void setMetadata(string source)
private void setMetadata()
{
ArtistLabel.Text = artistBinding.Value;
TitleLabel.Text = string.IsNullOrEmpty(source) ? titleBinding.Value : source + " — " + titleBinding.Value;
TitleLabel.Text = titleBinding.Value;
}
private void addInfoLabels()