Remove unused fields

This commit is contained in:
Bartłomiej Dach
2023-03-09 19:14:08 +01:00
parent 08b88ed639
commit 6b2a70b112
2 changed files with 2 additions and 4 deletions

View File

@ -20,7 +20,6 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
private readonly IBindable<ScrollingDirection> direction = new Bindable<ScrollingDirection>(); private readonly IBindable<ScrollingDirection> direction = new Bindable<ScrollingDirection>();
private readonly IBindable<Color4> accentColour = new Bindable<Color4>(); private readonly IBindable<Color4> accentColour = new Bindable<Color4>();
private readonly Box shadow;
private readonly Box foreground; private readonly Box foreground;
private readonly Box foregroundAdditive; private readonly Box foregroundAdditive;
@ -39,7 +38,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
Masking = true, Masking = true,
Children = new Drawable[] Children = new Drawable[]
{ {
shadow = new Box new Box
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = ColourInfo.GradientVertical(Color4.Black.Opacity(0), Colour4.Black), Colour = ColourInfo.GradientVertical(Color4.Black.Opacity(0), Colour4.Black),

View File

@ -26,7 +26,6 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
private readonly IBindable<Color4> accentColour = new Bindable<Color4>(); private readonly IBindable<Color4> accentColour = new Bindable<Color4>();
private readonly Box colouredBox; private readonly Box colouredBox;
private readonly Box shadow;
public ArgonNotePiece() public ArgonNotePiece()
{ {
@ -38,7 +37,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
InternalChildren = new[] InternalChildren = new[]
{ {
shadow = new Box new Box
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = ColourInfo.GradientVertical(Color4.Black.Opacity(0), Colour4.Black) Colour = ColourInfo.GradientVertical(Color4.Black.Opacity(0), Colour4.Black)