mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 11:27:24 +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()
|
public override void Load()
|
||||||
{
|
{
|
||||||
base.Load();
|
base.Load();
|
||||||
|
|
||||||
Add(new Background(textureName));
|
Add(new Background(textureName));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,6 +91,5 @@ namespace osu.Game.GameModes
|
|||||||
{
|
{
|
||||||
return base.Equals(other) && textureName == ((BackgroundModeCustom)other).textureName;
|
return base.Equals(other) && textureName == ((BackgroundModeCustom)other).textureName;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -632,9 +632,6 @@ namespace osu.Game.GameModes.Menu
|
|||||||
FadeOut(800);
|
FadeOut(800);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
case ButtonState.Contracted2:
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case ButtonState.Expanded:
|
case ButtonState.Expanded:
|
||||||
const int expand_duration = 500;
|
const int expand_duration = 500;
|
||||||
@ -647,15 +644,12 @@ namespace osu.Game.GameModes.Menu
|
|||||||
FadeOut(explode_duration / 4 * 3);
|
FadeOut(explode_duration / 4 * 3);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ButtonState
|
public enum ButtonState
|
||||||
{
|
{
|
||||||
Contracted,
|
Contracted,
|
||||||
Contracted2,
|
|
||||||
Expanded,
|
Expanded,
|
||||||
Exploded
|
Exploded
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user