mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Rename property
This commit is contained in:
parent
4555b9ff70
commit
c631354b57
@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
|
||||
public override string TooltipText => "followers";
|
||||
|
||||
protected override IconUsage CreateIcon => FontAwesome.Solid.User;
|
||||
protected override IconUsage Icon => FontAwesome.Solid.User;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
|
@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
|
||||
public override string TooltipText => "mapping subscribers";
|
||||
|
||||
protected override IconUsage CreateIcon => FontAwesome.Solid.Bell;
|
||||
protected override IconUsage Icon => FontAwesome.Solid.Bell;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
|
@ -29,7 +29,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
{
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.CentreLeft,
|
||||
Icon = CreateIcon,
|
||||
Icon = Icon,
|
||||
FillMode = FillMode.Fit,
|
||||
Size = new Vector2(50, 14)
|
||||
},
|
||||
@ -44,7 +44,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
};
|
||||
}
|
||||
|
||||
protected abstract IconUsage CreateIcon { get; }
|
||||
protected abstract IconUsage Icon { get; }
|
||||
|
||||
protected void SetValue(int value) => drawableText.Text = value.ToString("#,##0");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user