1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00

Avoid triangle bleeding by masking the triangle container without smoothness.

This commit is contained in:
Thomas Müller 2017-02-05 16:34:47 +01:00
parent fe86a9e431
commit d291103d22

View File

@ -203,13 +203,22 @@ namespace osu.Game.Overlays.Pause
EdgeSmoothness = new Vector2(2, 0),
RelativeSizeAxes = Axes.Both
},
new Triangles
new Container
{
RelativeSizeAxes = Axes.Both,
TriangleScale = 4,
ColourDark = OsuColour.Gray(0.88f),
Shear = new Vector2(-0.2f, 0)
}
Masking = true,
MaskingSmoothness = 0,
Children = new[]
{
new Triangles
{
RelativeSizeAxes = Axes.Both,
TriangleScale = 4,
ColourDark = OsuColour.Gray(0.88f),
Shear = new Vector2(-0.2f, 0)
}
}
},
}
}
}