1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Remove unused button state.

This commit is contained in:
Dean Herbert 2016-10-05 18:16:42 +09:00
parent 698c1ef1ae
commit 4eb310c3a5
2 changed files with 0 additions and 8 deletions

View File

@ -84,7 +84,6 @@ namespace osu.Game.GameModes
public override void Load()
{
base.Load();
Add(new Background(textureName));
}
@ -92,6 +91,5 @@ namespace osu.Game.GameModes
{
return base.Equals(other) && textureName == ((BackgroundModeCustom)other).textureName;
}
}
}

View File

@ -632,9 +632,6 @@ namespace osu.Game.GameModes.Menu
FadeOut(800);
break;
}
break;
case ButtonState.Contracted2:
break;
case ButtonState.Expanded:
const int expand_duration = 500;
@ -647,15 +644,12 @@ namespace osu.Game.GameModes.Menu
FadeOut(explode_duration / 4 * 3);
break;
}
}
}
public enum ButtonState
{
Contracted,
Contracted2,
Expanded,
Exploded
}