mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
removed some unused stuff
This commit is contained in:
@ -451,63 +451,5 @@ namespace osu.Game.Screens.Select
|
||||
valueText.Colour = colour.GrayB;
|
||||
}
|
||||
}
|
||||
|
||||
private class RetryAndFailBar : Container<Bar>
|
||||
{
|
||||
private readonly Bar retryBar;
|
||||
private readonly Bar failBar;
|
||||
|
||||
public float RetryLength
|
||||
{
|
||||
get
|
||||
{
|
||||
return retryBar.Length;
|
||||
}
|
||||
set
|
||||
{
|
||||
retryBar.Length = value + FailLength;
|
||||
}
|
||||
}
|
||||
|
||||
public float FailLength
|
||||
{
|
||||
get
|
||||
{
|
||||
return failBar.Length;
|
||||
}
|
||||
set
|
||||
{
|
||||
failBar.Length = value;
|
||||
}
|
||||
}
|
||||
|
||||
public RetryAndFailBar()
|
||||
{
|
||||
Children = new[]
|
||||
{
|
||||
retryBar = new Bar
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Direction = BarDirection.BottomToTop,
|
||||
Length = 0,
|
||||
BackgroundColour = new Color4(0,0,0,0),
|
||||
},
|
||||
failBar = new Bar
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Direction = BarDirection.BottomToTop,
|
||||
Length = 0,
|
||||
BackgroundColour = new Color4(0,0,0,0),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colour)
|
||||
{
|
||||
retryBar.Colour = colour.Yellow;
|
||||
failBar.Colour = colour.YellowDarker;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user