mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Remove unnecessary extra spritetext
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user