mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00: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 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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user