1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:43:22 +08:00

Rename property

This commit is contained in:
Andrei Zavatski 2021-01-21 23:39:19 +03:00
parent 4555b9ff70
commit c631354b57
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
public override string TooltipText => "followers"; public override string TooltipText => "followers";
protected override IconUsage CreateIcon => FontAwesome.Solid.User; protected override IconUsage Icon => FontAwesome.Solid.User;
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()

View File

@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
public override string TooltipText => "mapping subscribers"; public override string TooltipText => "mapping subscribers";
protected override IconUsage CreateIcon => FontAwesome.Solid.Bell; protected override IconUsage Icon => FontAwesome.Solid.Bell;
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()

View File

@ -29,7 +29,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Icon = CreateIcon, Icon = Icon,
FillMode = FillMode.Fit, FillMode = FillMode.Fit,
Size = new Vector2(50, 14) 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"); protected void SetValue(int value) => drawableText.Text = value.ToString("#,##0");
} }