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

Make the x position depends on the avatar size

This commit is contained in:
EVAST9919 2017-11-15 10:43:32 +03:00
parent 093ebb8b17
commit 60a2d84e09

View File

@ -102,13 +102,14 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
flag = new DrawableFlag
{
Size = new Vector2(30, 20),
Position = new Vector2(height / 2, height / 4),
Position = new Vector2(margin * 2 + avatar_size, height / 4),
},
username = new ClickableUsername
{
Origin = Anchor.BottomLeft,
TextSize = 30,
Position = new Vector2(height / 2, avatar_size / 2),
Position = new Vector2(margin * 2 + avatar_size, height / 4),
Margin = new MarginPadding { Bottom = 4 }
},
rankText = new OsuSpriteText
{