1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 17:13:06 +08:00

Fix crashing TextSceneMedalOverlay

This commit is contained in:
Andrei Zavatski 2019-12-29 03:01:14 +03:00
parent 6cb1a638b6
commit cb2b89a2c9
2 changed files with 3 additions and 3 deletions

View File

@ -155,12 +155,12 @@ namespace osu.Game.Overlays
Radius = 50, Radius = 50,
}; };
disc.Add(drawableMedal = new DrawableMedal(medal) LoadComponentAsync(drawableMedal = new DrawableMedal(medal)
{ {
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre, Origin = Anchor.TopCentre,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
}); }, disc.Add);
} }
protected override void LoadComplete() protected override void LoadComplete()

View File

@ -51,7 +51,7 @@ namespace osu.Game.Overlays.MedalSplash
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
Scale = new Vector2(0.81f), Scale = new Vector2(0.41f),
}, },
medalGlow = new Sprite medalGlow = new Sprite
{ {