Fix spelling of breadth

This commit is contained in:
Dean Herbert 2020-05-26 10:17:34 +09:00
parent 8fc60d12c9
commit d69111c665

View File

@ -120,10 +120,10 @@ namespace osu.Game.Rulesets.UI.Scrolling
{
case ScrollingDirection.Up:
case ScrollingDirection.Down:
return ToScreenSpace(new Vector2(getBredth() / 2, pos));
return ToScreenSpace(new Vector2(getBreadth() / 2, pos));
default:
return ToScreenSpace(new Vector2(pos, getBredth() / 2));
return ToScreenSpace(new Vector2(pos, getBreadth() / 2));
}
}
@ -140,7 +140,7 @@ namespace osu.Game.Rulesets.UI.Scrolling
}
}
private float getBredth()
private float getBreadth()
{
switch (scrollingInfo.Direction.Value)
{