From 4100c4fe9f70147f964e9e9cc275359b84cedc36 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 18 May 2017 21:04:09 +0900 Subject: [PATCH] Fix order of methods --- .../Drawables/Pieces/SpinnerBackground.cs | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBackground.cs b/osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBackground.cs index b3ce075575..5b163b99a4 100644 --- a/osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBackground.cs +++ b/osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBackground.cs @@ -23,17 +23,6 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces 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() { 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), + }; + } } }