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, Width = 60,
Child = CreateDrawableAccuracy() Child = CreateDrawableAccuracy()
}, },
new FillFlowContainer new OsuSpriteText
{ {
AutoSizeAxes = Axes.Both, Anchor = Anchor.BottomLeft,
Direction = FillDirection.Horizontal, Origin = Anchor.BottomLeft,
Children = new[] Font = OsuFont.GetFont(weight: FontWeight.Bold, italics: true),
{ Text = $"{Score.PP * weight:0}pp",
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",
}
}
}
} }
}, },
new OsuSpriteText new OsuSpriteText