Use constants.

This commit is contained in:
Huo Yaoyuan
2019-11-12 20:07:01 +08:00
parent d60493a961
commit 42a98c5d87
6 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ namespace osu.Game.Screens.Select
{
public class FooterButton : OsuClickableContainer
{
public static readonly float SHEAR_WIDTH = 7.5f;
public const float SHEAR_WIDTH = 7.5f;
protected static readonly Vector2 SHEAR = new Vector2(SHEAR_WIDTH / Footer.HEIGHT, 0);