mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 18:27:18 +08:00
Fix spelling of breadth
This commit is contained in:
parent
8fc60d12c9
commit
d69111c665
@ -120,10 +120,10 @@ namespace osu.Game.Rulesets.UI.Scrolling
|
|||||||
{
|
{
|
||||||
case ScrollingDirection.Up:
|
case ScrollingDirection.Up:
|
||||||
case ScrollingDirection.Down:
|
case ScrollingDirection.Down:
|
||||||
return ToScreenSpace(new Vector2(getBredth() / 2, pos));
|
return ToScreenSpace(new Vector2(getBreadth() / 2, pos));
|
||||||
|
|
||||||
default:
|
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)
|
switch (scrollingInfo.Direction.Value)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user