mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
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:
@ -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()
|
||||
|
Reference in New Issue
Block a user