Rename const

This commit is contained in:
Dan Balasescu 2022-08-09 13:20:20 +09:00 committed by GitHub
parent 1f4b87d233
commit a52fa8eb8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
if (barLine.Major)
{
Vector2 size = new Vector2(22, 6);
const float triangle_offset = 4;
const float line_offset = 4;
AddInternal(new Circle
{
@ -40,7 +40,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
Origin = Anchor.CentreRight,
Size = size,
X = -triangle_offset,
X = -line_offset,
});
AddInternal(new Circle
@ -49,7 +49,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
Anchor = Anchor.CentreRight,
Origin = Anchor.CentreLeft,
Size = size,
X = triangle_offset,
X = line_offset,
});
}
}