1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Remove unnecessary extra spritetext

This commit is contained in:
smoogipoo 2020-01-29 18:44:30 +09:00
parent 79cdfc6dc2
commit d908bc2693

View File

@ -40,28 +40,13 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
Width = 60,
Child = CreateDrawableAccuracy()
},
new FillFlowContainer
new OsuSpriteText
{
AutoSizeAxes = Axes.Both,
Direction = FillDirection.Horizontal,
Children = new[]
{
new OsuSpriteText
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Font = OsuFont.GetFont(weight: FontWeight.Bold, italics: true),
Text = $"{Score.PP * weight:0}",
},
new OsuSpriteText
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Font = OsuFont.GetFont(size: 14, weight: FontWeight.Bold, italics: true),
Text = "pp",
}
}
}
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Font = OsuFont.GetFont(weight: FontWeight.Bold, italics: true),
Text = $"{Score.PP * weight:0}pp",
},
}
},
new OsuSpriteText