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:
parent
638a2e5ba8
commit
04853b8c83
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user