Remove bad

This commit is contained in:
Dean Herbert
2017-06-05 17:03:48 +09:00
parent 958cd9f8d8
commit 2712f49545
2 changed files with 0 additions and 18 deletions

View File

@ -29,10 +29,8 @@ namespace osu.Game.Screens.Play
public readonly HealthDisplay HealthDisplay; public readonly HealthDisplay HealthDisplay;
public readonly SongProgress Progress; public readonly SongProgress Progress;
public readonly ModDisplay ModDisplay; public readonly ModDisplay ModDisplay;
public readonly ReplaySettingsOverlay ReplaySettingsOverlay;
private Bindable<bool> showHud; private Bindable<bool> showHud;
private bool replaySettingsIsVisible;
private bool replayLoaded; private bool replayLoaded;
private static bool hasShownNotificationOnce; private static bool hasShownNotificationOnce;
@ -103,9 +101,6 @@ namespace osu.Game.Screens.Play
// in the case a replay isn't loaded, we want some elements to only appear briefly. // in the case a replay isn't loaded, we want some elements to only appear briefly.
if (!replayLoaded) if (!replayLoaded)
{ {
ReplaySettingsOverlay.Hide();
ReplaySettingsOverlay.AlwaysPresent = false;
using (ModDisplay.BeginDelayedSequence(2000)) using (ModDisplay.BeginDelayedSequence(2000))
ModDisplay.FadeOut(200); ModDisplay.FadeOut(200);
} }
@ -125,18 +120,6 @@ namespace osu.Game.Screens.Play
} }
} }
switch (args.Key)
{
case Key.H:
if (replayLoaded)
{
ReplaySettingsOverlay.FadeTo(replaySettingsIsVisible ? 1 : 0, duration);
replaySettingsIsVisible = !replaySettingsIsVisible;
return true;
}
else return false;
}
return base.OnKeyDown(state, args); return base.OnKeyDown(state, args);
} }
} }

View File

@ -12,7 +12,6 @@ namespace osu.Game.Screens.Play
{ {
public ReplaySettingsOverlay() public ReplaySettingsOverlay()
{ {
AlwaysPresent = true;
Direction = FillDirection.Vertical; Direction = FillDirection.Vertical;
AutoSizeAxes = Axes.Both; AutoSizeAxes = Axes.Both;
Spacing = new Vector2(0, 20); Spacing = new Vector2(0, 20);