Less sheep

This commit is contained in:
Dean Herbert
2019-08-07 12:20:49 +09:00
parent 9033327923
commit 616de1830a
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ namespace osu.Game.Screens.Select
{
public static readonly float SHEAR_WIDTH = 7.5f;
protected static readonly Vector2 SHEARING = new Vector2(SHEAR_WIDTH / Footer.HEIGHT, 0);
protected static readonly Vector2 SHEAR = new Vector2(SHEAR_WIDTH / Footer.HEIGHT, 0);
public string Text
{
@ -64,7 +64,7 @@ namespace osu.Game.Screens.Select
public FooterButton()
{
AutoSizeAxes = Axes.Both;
Shear = SHEARING;
Shear = SHEAR;
Children = new Drawable[]
{
box = new Box
@ -83,7 +83,7 @@ namespace osu.Game.Screens.Select
TextContainer = new Container
{
Size = new Vector2(100 - SHEAR_WIDTH, 50),
Shear = -SHEARING,
Shear = -SHEAR,
Child = SpriteText = new OsuSpriteText
{
Anchor = Anchor.Centre,