1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 06:52:53 +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 public class KudosuInfo : Container
{ {
private readonly Bindable<User> user = new Bindable<User>(); private readonly Bindable<User> user = new Bindable<User>();
public KudosuInfo(Bindable<User> user) public KudosuInfo(Bindable<User> user)
{ {
this.user.BindTo(user); this.user.BindTo(user);
@ -54,7 +55,9 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
avaliable.Count = u.NewValue?.Kudosu.Available ?? 0; avaliable.Count = u.NewValue?.Kudosu.Available ?? 0;
}; };
} }
protected override bool OnClick(ClickEvent e) => true; protected override bool OnClick(ClickEvent e) => true;
private class CountSection : Container private class CountSection : Container
{ {
private readonly OsuSpriteText valueText; private readonly OsuSpriteText valueText;
@ -65,6 +68,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
{ {
set => valueText.Text = value.ToString(); set => valueText.Text = value.ToString();
} }
public CountSection(string header, string description) public CountSection(string header, string description)
{ {
RelativeSizeAxes = Axes.X; RelativeSizeAxes = Axes.X;