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:
parent
698c1ef1ae
commit
4eb310c3a5
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user