mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 20:33:01 +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.BindValueChanged(value => setMetadata(metadata.Source), true);
|
||||||
artistBinding.TriggerChange();
|
|
||||||
|
// no difficulty means it can't have a status to show
|
||||||
|
if (beatmapInfo.Version == null)
|
||||||
|
StatusPill.Hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setMetadata(string source)
|
private void setMetadata(string source)
|
||||||
|
Loading…
Reference in New Issue
Block a user