mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 09:03:01 +08:00
Rename const
This commit is contained in:
parent
1f4b87d233
commit
a52fa8eb8b
@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
|||||||
if (barLine.Major)
|
if (barLine.Major)
|
||||||
{
|
{
|
||||||
Vector2 size = new Vector2(22, 6);
|
Vector2 size = new Vector2(22, 6);
|
||||||
const float triangle_offset = 4;
|
const float line_offset = 4;
|
||||||
|
|
||||||
AddInternal(new Circle
|
AddInternal(new Circle
|
||||||
{
|
{
|
||||||
@ -40,7 +40,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
|||||||
Origin = Anchor.CentreRight,
|
Origin = Anchor.CentreRight,
|
||||||
|
|
||||||
Size = size,
|
Size = size,
|
||||||
X = -triangle_offset,
|
X = -line_offset,
|
||||||
});
|
});
|
||||||
|
|
||||||
AddInternal(new Circle
|
AddInternal(new Circle
|
||||||
@ -49,7 +49,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
|||||||
Anchor = Anchor.CentreRight,
|
Anchor = Anchor.CentreRight,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Size = size,
|
Size = size,
|
||||||
X = triangle_offset,
|
X = line_offset,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user