mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 17:33:18 +08: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++)
|
for (int i = 0; i < requiredCircles; i++)
|
||||||
{
|
{
|
||||||
float radius = (i + 1) * DistanceBetweenTicks * 2;
|
float diameter = (i + 1) * DistanceBetweenTicks * 2;
|
||||||
|
|
||||||
AddInternal(new CircularProgress
|
AddInternal(new CircularProgress
|
||||||
{
|
{
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Position = StartPosition,
|
Position = StartPosition,
|
||||||
Current = { Value = 1 },
|
Current = { Value = 1 },
|
||||||
Size = new Vector2(radius),
|
Size = new Vector2(diameter),
|
||||||
InnerRadius = 4 * 1f / radius,
|
InnerRadius = 4 * 1f / diameter,
|
||||||
Colour = GetColourForIndexFromPlacement(i)
|
Colour = GetColourForIndexFromPlacement(i)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user