mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 10:17:19 +08:00
Use GradientHorizontal helper function
This commit is contained in:
parent
c176e309e1
commit
e2f9e237e8
@ -43,13 +43,7 @@ namespace osu.Game.Overlays
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y,
|
RelativeSizeAxes = Axes.Y,
|
||||||
Width = 300,
|
Width = 300,
|
||||||
Colour = new ColourInfo
|
Colour = ColourInfo.GradientHorizontal(Color4.Black.Opacity(0.75f), Color4.Black.Opacity(0))
|
||||||
{
|
|
||||||
TopLeft = Color4.Black.Opacity(0.75f),
|
|
||||||
BottomLeft = Color4.Black.Opacity(0.75f),
|
|
||||||
TopRight = Color4.Black.Opacity(0),
|
|
||||||
BottomRight = Color4.Black.Opacity(0),
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user