1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:52:55 +08:00

don't show StatusPill without a difficulty

This commit is contained in:
Unknown 2018-09-13 13:49:57 +02:00
parent 638a2e5ba8
commit 04853b8c83

View File

@ -261,8 +261,11 @@ namespace osu.Game.Screens.Select
}
}
};
artistBinding.ValueChanged += value => setMetadata(metadata.Source);
artistBinding.TriggerChange();
artistBinding.BindValueChanged(value => setMetadata(metadata.Source), true);
// no difficulty means it can't have a status to show
if (beatmapInfo.Version == null)
StatusPill.Hide();
}
private void setMetadata(string source)