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 float minStarAlpha => 0.5f;
private const float star_size = 20; private const float star_size = 20;
private float star_spacing = 4; private const float star_spacing = 4;
private float count; private float count;

View File

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