mirror of https://github.com/ppy/osu
don't show StatusPill without a difficulty
This commit is contained in:
parent
638a2e5ba8
commit
04853b8c83
|
@ -261,8 +261,11 @@ private void load(LocalisationEngine localisation)
|
|||
}
|
||||
}
|
||||
};
|
||||
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