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:
parent
a7d7abe70e
commit
88f3dc0e02
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user