mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09: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
|
flag = new DrawableFlag
|
||||||
{
|
{
|
||||||
Size = new Vector2(30, 20),
|
Size = new Vector2(30, 20),
|
||||||
Position = new Vector2(height / 2, height / 4),
|
Position = new Vector2(margin * 2 + avatar_size, height / 4),
|
||||||
},
|
},
|
||||||
username = new ClickableUsername
|
username = new ClickableUsername
|
||||||
{
|
{
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
TextSize = 30,
|
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
|
rankText = new OsuSpriteText
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user