1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:07:52 +08:00

Fix a few naming issues.

This commit is contained in:
Dean Herbert 2017-03-06 18:49:23 +09:00
parent a7d7abe70e
commit 88f3dc0e02
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ namespace osu.Game.Graphics.UserInterface
private float minStarAlpha => 0.5f;
private const float star_size = 20;
private float star_spacing = 4;
private const float star_spacing = 4;
private float count;

View File

@ -121,10 +121,10 @@ namespace osu.Game.Screens.Tournament
continue;
}
float offset = Math.Abs(c.Position.X + c.DrawWidth / 2f - DrawWidth / 2f);
float o = Math.Abs(c.Position.X + c.DrawWidth / 2f - DrawWidth / 2f);
float lastOffset = Math.Abs(closest.Position.X + closest.DrawWidth / 2f - DrawWidth / 2f);
if (offset < lastOffset)
if (o < lastOffset)
closest = c;
}