diff --git a/osu.Game/Graphics/Backgrounds/Triangles.cs b/osu.Game/Graphics/Backgrounds/Triangles.cs index 4c50162194..478fe8a877 100644 --- a/osu.Game/Graphics/Backgrounds/Triangles.cs +++ b/osu.Game/Graphics/Backgrounds/Triangles.cs @@ -99,15 +99,14 @@ namespace osu.Game.Graphics.Backgrounds const float size = 100; - return new Triangle + return new EquilateralTriangle { Origin = Anchor.TopCentre, RelativePositionAxes = Axes.Both, + Size = new Vector2(size), Scale = new Vector2(scale), EdgeSmoothness = new Vector2(1), Colour = GetTriangleShade(), - // Scaling height by 0.866 results in equiangular triangles (== 60° and equal side length) - Size = new Vector2(size, 0.866f * size), Depth = scale, }; }