mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 11:12:59 +08:00
Remove unused field and commented-out code
This commit is contained in:
parent
6635d9be04
commit
e6f1a722cb
@ -33,7 +33,6 @@ namespace osu.Game.Screens.Play
|
|||||||
private double countdownStartTime;
|
private double countdownStartTime;
|
||||||
|
|
||||||
private Drawable content = null!;
|
private Drawable content = null!;
|
||||||
private Drawable background = null!;
|
|
||||||
private SpriteText countdown = null!;
|
private SpriteText countdown = null!;
|
||||||
|
|
||||||
public DelayedResumeOverlay()
|
public DelayedResumeOverlay()
|
||||||
@ -53,9 +52,9 @@ namespace osu.Game.Screens.Play
|
|||||||
Masking = true,
|
Masking = true,
|
||||||
BorderColour = colours.Yellow,
|
BorderColour = colours.Yellow,
|
||||||
BorderThickness = 1,
|
BorderThickness = 1,
|
||||||
Children = new[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
background = new Box
|
new Box
|
||||||
{
|
{
|
||||||
Size = new Vector2(250, 40),
|
Size = new Vector2(250, 40),
|
||||||
Colour = Color4.Black,
|
Colour = Color4.Black,
|
||||||
@ -75,29 +74,14 @@ namespace osu.Game.Screens.Play
|
|||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Spacing = new Vector2(5),
|
Spacing = new Vector2(5),
|
||||||
Colour = colours.Yellow,
|
Colour = colours.Yellow,
|
||||||
Children = new Drawable[]
|
Child = countdown = new OsuSpriteText
|
||||||
{
|
{
|
||||||
// new Box
|
Anchor = Anchor.Centre,
|
||||||
// {
|
Origin = Anchor.Centre,
|
||||||
// Anchor = Anchor.Centre,
|
UseFullGlyphHeight = false,
|
||||||
// Origin = Anchor.Centre,
|
AlwaysPresent = true,
|
||||||
// Size = new Vector2(40, 3)
|
Font = OsuFont.Numeric.With(size: 20, fixedWidth: true)
|
||||||
// },
|
},
|
||||||
countdown = new OsuSpriteText
|
|
||||||
{
|
|
||||||
Anchor = Anchor.Centre,
|
|
||||||
Origin = Anchor.Centre,
|
|
||||||
UseFullGlyphHeight = false,
|
|
||||||
AlwaysPresent = true,
|
|
||||||
Font = OsuFont.Numeric.With(size: 20, fixedWidth: true)
|
|
||||||
},
|
|
||||||
// new Box
|
|
||||||
// {
|
|
||||||
// Anchor = Anchor.Centre,
|
|
||||||
// Origin = Anchor.Centre,
|
|
||||||
// Size = new Vector2(40, 3)
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user