mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Make the x position depends on the avatar size
This commit is contained in:
parent
093ebb8b17
commit
60a2d84e09
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user