This commit is contained in:
HoutarouOreki
2018-07-18 03:26:08 +02:00
parent 523d47e815
commit 6baa761b9c
6 changed files with 35 additions and 70 deletions

View File

@ -71,13 +71,14 @@ namespace osu.Game.Overlays
};
streams.SelectedRelease.ValueChanged += r =>
{
if (streams.SelectedRelease != null)
if (streams.SelectedRelease.Value != null)
header.ShowReleaseStream(r.Name, string.Join(" ", r.Name, r.DisplayVersion));
};
streams.badgesContainer.OnLoadComplete += d =>
{
header.OnListingActivated += () =>
{
streams.SelectedRelease.Value = null;
foreach (StreamBadge item in streams.badgesContainer.Children)
{
item.Activate(true);