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:
parent
2b9cb83aa2
commit
724f849543
@ -1 +1 @@
|
||||
Subproject commit 24af3b161da9447b678edd8ec32193df54f71e3b
|
||||
Subproject commit 744ed65bbc3b2ca96135abecddad2d069a1fe817
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user