mirror of https://github.com/ppy/osu
Remove pointless const
This commit is contained in:
parent
458496206c
commit
737c2bd1c8
|
@ -97,7 +97,6 @@ protected override void OnHoverLost(HoverLostEvent e)
|
|||
|
||||
private class ModButton : ModIcon
|
||||
{
|
||||
private const float mod_scale = 0.4f;
|
||||
private const int duration = 200;
|
||||
|
||||
public readonly BindableBool Selected = new BindableBool();
|
||||
|
@ -106,7 +105,7 @@ private class ModButton : ModIcon
|
|||
public ModButton(Mod mod)
|
||||
: base(mod)
|
||||
{
|
||||
Scale = new Vector2(mod_scale);
|
||||
Scale = new Vector2(0.4f);
|
||||
Highlighted.Value = true;
|
||||
Add(new HoverClickSounds());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue