mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Typos fix
This commit is contained in:
parent
14966d5b94
commit
ebc814f06a
@ -10,7 +10,7 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
{
|
||||
internal class TestCaseInGameOverlays : TestCase
|
||||
{
|
||||
public override string Description => @"Tests the pause and fail overlays";
|
||||
public override string Description => @"Tests pause and fail overlays";
|
||||
|
||||
private PauseOverlay pauseOverlay;
|
||||
private FailOverlay failOverlay;
|
||||
|
@ -30,7 +30,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
internal override bool ShowOverlays => false;
|
||||
|
||||
internal override bool HasLocalCursorDisplayed => !hasReplayLoaded && !IsPaused && !IsFailed;
|
||||
internal override bool HasLocalCursorDisplayed => !hasReplayLoaded && !IsPaused && !HasFailed;
|
||||
|
||||
private bool hasReplayLoaded => HitRenderer.InputManager.ReplayInputHandler != null;
|
||||
|
||||
@ -38,7 +38,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
public bool IsPaused { get; private set; }
|
||||
|
||||
public bool IsFailed { get; private set; }
|
||||
public bool HasFailed { get; private set; }
|
||||
|
||||
public int RestartCount;
|
||||
|
||||
@ -274,7 +274,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
Delay(500);
|
||||
|
||||
IsFailed = true;
|
||||
HasFailed = true;
|
||||
failOverlay.Retries = RestartCount;
|
||||
failOverlay.Show();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user