mirror of https://github.com/ppy/osu
Fix catch hyper dash colour defaults not being set correctly
As the defaults were not set, if a skin happened to specify 0,0,0,0 it would be ignored due to the early returns in property setters.
This commit is contained in:
parent
997ea2f27e
commit
db45d9aa8a
|
@ -24,7 +24,7 @@ public class CatcherTrailDisplay : CompositeDrawable
|
|||
private readonly Container<CatcherTrailSprite> hyperDashTrails;
|
||||
private readonly Container<CatcherTrailSprite> endGlowSprites;
|
||||
|
||||
private Color4 hyperDashTrailsColour;
|
||||
private Color4 hyperDashTrailsColour = Catcher.DEFAULT_HYPER_DASH_COLOUR;
|
||||
|
||||
public Color4 HyperDashTrailsColour
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ public Color4 HyperDashTrailsColour
|
|||
}
|
||||
}
|
||||
|
||||
private Color4 endGlowSpritesColour;
|
||||
private Color4 endGlowSpritesColour = Catcher.DEFAULT_HYPER_DASH_COLOUR;
|
||||
|
||||
public Color4 EndGlowSpritesColour
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue