1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix incorrect BeatmapPanel border caused by triangles.

This commit is contained in:
Thomas Müller 2016-11-27 11:49:51 +01:00
parent 2b9cb83aa2
commit 724f849543
2 changed files with 5 additions and 1 deletions

@ -1 +1 @@
Subproject commit 24af3b161da9447b678edd8ec32193df54f71e3b
Subproject commit 744ed65bbc3b2ca96135abecddad2d069a1fe817

View File

@ -57,6 +57,10 @@ namespace osu.Game.Beatmaps.Drawables
},
new Triangles
{
// The border is drawn in the shader of the children. Being additive, triangles would over-emphasize
// the border wherever they cross it, and thus they get their own masking container without a border.
Masking = true,
CornerRadius = Content.CornerRadius,
RelativeSizeAxes = Axes.Both,
BlendingMode = BlendingMode.Additive,
Colour = deselectedColour,