1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 20:22:55 +08:00

Fix order of methods

This commit is contained in:
Dean Herbert 2017-05-18 21:04:09 +09:00
parent ae676b48b2
commit 4100c4fe9f

View File

@ -23,17 +23,6 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
set { Disc.Colour = value; } set { Disc.Colour = value; }
} }
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
EdgeEffect = new EdgeEffect
{
Type = EdgeEffectType.Glow,
Radius = 14,
Colour = colours.BlueLight.Opacity(0.3f),
};
}
public SpinnerBackground() public SpinnerBackground()
{ {
RelativeSizeAxes = Axes.Both; RelativeSizeAxes = Axes.Both;
@ -50,5 +39,16 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
}, },
}; };
} }
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
EdgeEffect = new EdgeEffect
{
Type = EdgeEffectType.Glow,
Radius = 14,
Colour = colours.BlueLight.Opacity(0.3f),
};
}
} }
} }