mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Avoid triangle bleeding by masking the triangle container without smoothness.
This commit is contained in:
@ -203,13 +203,22 @@ namespace osu.Game.Overlays.Pause
|
|||||||
EdgeSmoothness = new Vector2(2, 0),
|
EdgeSmoothness = new Vector2(2, 0),
|
||||||
RelativeSizeAxes = Axes.Both
|
RelativeSizeAxes = Axes.Both
|
||||||
},
|
},
|
||||||
new Triangles
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
TriangleScale = 4,
|
Masking = true,
|
||||||
ColourDark = OsuColour.Gray(0.88f),
|
MaskingSmoothness = 0,
|
||||||
Shear = new Vector2(-0.2f, 0)
|
Children = new[]
|
||||||
}
|
{
|
||||||
|
new Triangles
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
TriangleScale = 4,
|
||||||
|
ColourDark = OsuColour.Gray(0.88f),
|
||||||
|
Shear = new Vector2(-0.2f, 0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user