mirror of
https://github.com/ppy/osu
synced 2025-01-24 23:03:14 +00:00
Rename incorrectly named variable (radius is not diameter)
This commit is contained in:
parent
37cbc79283
commit
118e58888b
@ -49,15 +49,15 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
for (int i = 0; i < requiredCircles; i++)
|
||||
{
|
||||
float radius = (i + 1) * DistanceBetweenTicks * 2;
|
||||
float diameter = (i + 1) * DistanceBetweenTicks * 2;
|
||||
|
||||
AddInternal(new CircularProgress
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
Position = StartPosition,
|
||||
Current = { Value = 1 },
|
||||
Size = new Vector2(radius),
|
||||
InnerRadius = 4 * 1f / radius,
|
||||
Size = new Vector2(diameter),
|
||||
InnerRadius = 4 * 1f / diameter,
|
||||
Colour = GetColourForIndexFromPlacement(i)
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user