mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 12:02:54 +08:00
Avoid triangle bleeding by masking the triangle container without smoothness.
This commit is contained in:
parent
fe86a9e431
commit
d291103d22
@ -203,6 +203,13 @@ namespace osu.Game.Overlays.Pause
|
|||||||
EdgeSmoothness = new Vector2(2, 0),
|
EdgeSmoothness = new Vector2(2, 0),
|
||||||
RelativeSizeAxes = Axes.Both
|
RelativeSizeAxes = Axes.Both
|
||||||
},
|
},
|
||||||
|
new Container
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Masking = true,
|
||||||
|
MaskingSmoothness = 0,
|
||||||
|
Children = new[]
|
||||||
|
{
|
||||||
new Triangles
|
new Triangles
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
@ -211,6 +218,8 @@ namespace osu.Game.Overlays.Pause
|
|||||||
Shear = new Vector2(-0.2f, 0)
|
Shear = new Vector2(-0.2f, 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user