1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +08:00

Add missing lines

This commit is contained in:
EVAST9919 2019-05-29 21:19:03 +03:00
parent 97dbc95bc6
commit 9a13c52ffd

View File

@ -18,6 +18,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
public class KudosuInfo : Container
{
private readonly Bindable<User> user = new Bindable<User>();
public KudosuInfo(Bindable<User> user)
{
this.user.BindTo(user);
@ -54,7 +55,9 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
avaliable.Count = u.NewValue?.Kudosu.Available ?? 0;
};
}
protected override bool OnClick(ClickEvent e) => true;
private class CountSection : Container
{
private readonly OsuSpriteText valueText;
@ -65,6 +68,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
{
set => valueText.Text = value.ToString();
}
public CountSection(string header, string description)
{
RelativeSizeAxes = Axes.X;