1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:33:01 +08:00

Affix logo in place better

This commit is contained in:
Dean Herbert 2018-12-06 12:53:35 +09:00
parent 88052dcea1
commit cc3ccc4c40
2 changed files with 18 additions and 14 deletions

View File

@ -35,14 +35,16 @@ namespace osu.Game.Overlays.AccountCreation
Spacing = new Vector2(0, 5), Spacing = new Vector2(0, 5),
Children = new Drawable[] Children = new Drawable[]
{ {
new OsuLogo new Container
{ {
Scale = new Vector2(0.1f), RelativeSizeAxes = Axes.X,
Margin = new MarginPadding { Top = 500, Bottom = 300 }, Height = 150,
Anchor = Anchor.TopCentre, Child = new OsuLogo
Origin = Anchor.TopCentre, {
Triangles = false, Scale = new Vector2(0.1f),
BeatMatching = false, Anchor = Anchor.Centre,
Triangles = false,
},
}, },
new OsuSpriteText new OsuSpriteText
{ {

View File

@ -26,14 +26,16 @@ namespace osu.Game.Overlays.AccountCreation
Spacing = new Vector2(0, 5), Spacing = new Vector2(0, 5),
Children = new Drawable[] Children = new Drawable[]
{ {
new OsuLogo new Container
{ {
Scale = new Vector2(0.1f), RelativeSizeAxes = Axes.X,
Margin = new MarginPadding { Vertical = 500 }, Height = 150,
Anchor = Anchor.TopCentre, Child = new OsuLogo
Origin = Anchor.TopCentre, {
Triangles = false, Scale = new Vector2(0.1f),
BeatMatching = false, Anchor = Anchor.Centre,
Triangles = false,
},
}, },
new OsuSpriteText new OsuSpriteText
{ {