mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 14:52:57 +08:00
Fix crashing TextSceneMedalOverlay
This commit is contained in:
parent
6cb1a638b6
commit
cb2b89a2c9
@ -155,12 +155,12 @@ namespace osu.Game.Overlays
|
||||
Radius = 50,
|
||||
};
|
||||
|
||||
disc.Add(drawableMedal = new DrawableMedal(medal)
|
||||
LoadComponentAsync(drawableMedal = new DrawableMedal(medal)
|
||||
{
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
});
|
||||
}, disc.Add);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
@ -51,7 +51,7 @@ namespace osu.Game.Overlays.MedalSplash
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Scale = new Vector2(0.81f),
|
||||
Scale = new Vector2(0.41f),
|
||||
},
|
||||
medalGlow = new Sprite
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user