diff --git a/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs b/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs index 32f3380086..ebb651adb5 100644 --- a/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs +++ b/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs @@ -4,7 +4,6 @@ using OpenTK.Graphics; using osu.Framework.Logging; using osu.Framework.Screens.Testing; -using osu.Game.Graphics; using osu.Game.Screens.Play; namespace osu.Desktop.VisualTests.Tests diff --git a/osu.Game/Screens/Play/FailOverlay.cs b/osu.Game/Screens/Play/FailOverlay.cs index 2799954a8b..b722d9d338 100644 --- a/osu.Game/Screens/Play/FailOverlay.cs +++ b/osu.Game/Screens/Play/FailOverlay.cs @@ -32,8 +32,8 @@ namespace osu.Game.Screens.Play public FailOverlay() { - title.Text = @"failed"; - description.Text = @"you're dead, try again?"; + Title.Text = @"failed"; + Description.Text = @"you're dead, try again?"; } } } diff --git a/osu.Game/Screens/Play/Pause/PauseButton.cs b/osu.Game/Screens/Play/Pause/PauseButton.cs index afe06edb2e..7698913ea5 100644 --- a/osu.Game/Screens/Play/Pause/PauseButton.cs +++ b/osu.Game/Screens/Play/Pause/PauseButton.cs @@ -3,7 +3,6 @@ using osu.Framework.Allocation; using osu.Framework.Audio; -using osu.Game.Graphics; using osu.Game.Graphics.UserInterface; namespace osu.Game.Screens.Play.Pause diff --git a/osu.Game/Screens/Play/PauseOverlay.cs b/osu.Game/Screens/Play/PauseOverlay.cs index f11a0ef957..dec59fb63b 100644 --- a/osu.Game/Screens/Play/PauseOverlay.cs +++ b/osu.Game/Screens/Play/PauseOverlay.cs @@ -26,10 +26,10 @@ namespace osu.Game.Screens.Play public Action OnResume; - protected OsuSpriteText title; - protected OsuSpriteText description; + protected OsuSpriteText Title; + protected OsuSpriteText Description; - private FillFlowContainer buttons; + private readonly FillFlowContainer buttons; 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; @@ -148,7 +148,7 @@ namespace osu.Game.Screens.Play Spacing = new Vector2(0, 20), Children = new Drawable[] { - title = new OsuSpriteText + Title = new OsuSpriteText { Text = @"paused", Font = @"Exo2.0-Medium", @@ -160,7 +160,7 @@ namespace osu.Game.Screens.Play Shadow = true, 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?", Origin = Anchor.TopCentre,