Fix crashes

This commit is contained in:
smoogipoo
2021-05-12 16:40:46 +09:00
parent 5692cecaa4
commit 4e7551d50e
3 changed files with 19 additions and 16 deletions

View File

@ -41,25 +41,22 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
[BackgroundDependencyLoader]
private void load()
{
InternalChildren = new[]
AddInternal(glowContainer = new CircularContainer
{
glowContainer = new CircularContainer
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
RelativeSizeAxes = Axes.Both,
Masking = true,
Children = new[]
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
RelativeSizeAxes = Axes.Both,
Masking = true,
Children = new[]
new Box
{
new Box
{
RelativeSizeAxes = Axes.Both,
Alpha = 0,
AlwaysPresent = true
}
RelativeSizeAxes = Axes.Both,
Alpha = 0,
AlwaysPresent = true
}
}
};
});
}
protected override void LoadComplete()