mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
fixes
This commit is contained in:
parent
110d43bc25
commit
c4500fa270
@ -4,7 +4,6 @@
|
|||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
using osu.Framework.Logging;
|
using osu.Framework.Logging;
|
||||||
using osu.Framework.Screens.Testing;
|
using osu.Framework.Screens.Testing;
|
||||||
using osu.Game.Graphics;
|
|
||||||
using osu.Game.Screens.Play;
|
using osu.Game.Screens.Play;
|
||||||
|
|
||||||
namespace osu.Desktop.VisualTests.Tests
|
namespace osu.Desktop.VisualTests.Tests
|
||||||
|
@ -32,8 +32,8 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
public FailOverlay()
|
public FailOverlay()
|
||||||
{
|
{
|
||||||
title.Text = @"failed";
|
Title.Text = @"failed";
|
||||||
description.Text = @"you're dead, try again?";
|
Description.Text = @"you're dead, try again?";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Audio;
|
using osu.Framework.Audio;
|
||||||
using osu.Game.Graphics;
|
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Play.Pause
|
namespace osu.Game.Screens.Play.Pause
|
||||||
|
@ -26,10 +26,10 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
public Action OnResume;
|
public Action OnResume;
|
||||||
|
|
||||||
protected OsuSpriteText title;
|
protected OsuSpriteText Title;
|
||||||
protected OsuSpriteText description;
|
protected OsuSpriteText Description;
|
||||||
|
|
||||||
private FillFlowContainer buttons;
|
private readonly FillFlowContainer buttons;
|
||||||
|
|
||||||
public int Retries
|
public int Retries
|
||||||
{
|
{
|
||||||
@ -69,7 +69,7 @@ namespace osu.Game.Screens.Play
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private FillFlowContainer retryCounterContainer;
|
private readonly FillFlowContainer retryCounterContainer;
|
||||||
|
|
||||||
public override bool HandleInput => State == Visibility.Visible;
|
public override bool HandleInput => State == Visibility.Visible;
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ namespace osu.Game.Screens.Play
|
|||||||
Spacing = new Vector2(0, 20),
|
Spacing = new Vector2(0, 20),
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
title = new OsuSpriteText
|
Title = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Text = @"paused",
|
Text = @"paused",
|
||||||
Font = @"Exo2.0-Medium",
|
Font = @"Exo2.0-Medium",
|
||||||
@ -160,7 +160,7 @@ namespace osu.Game.Screens.Play
|
|||||||
Shadow = true,
|
Shadow = true,
|
||||||
ShadowColour = new Color4(0, 0, 0, 0.25f)
|
ShadowColour = new Color4(0, 0, 0, 0.25f)
|
||||||
},
|
},
|
||||||
description = new OsuSpriteText
|
Description = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Text = @"you're not going to do what i think you're going to do, are ya?",
|
Text = @"you're not going to do what i think you're going to do, are ya?",
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
|
Loading…
Reference in New Issue
Block a user