mirror of
https://github.com/ppy/osu.git
synced 2025-03-18 06:27:18 +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,
|
||||
Width = 300,
|
||||
Colour = new ColourInfo
|
||||
{
|
||||
TopLeft = Color4.Black.Opacity(0.75f),
|
||||
BottomLeft = Color4.Black.Opacity(0.75f),
|
||||
TopRight = Color4.Black.Opacity(0),
|
||||
BottomRight = Color4.Black.Opacity(0),
|
||||
}
|
||||
Colour = ColourInfo.GradientHorizontal(Color4.Black.Opacity(0.75f), Color4.Black.Opacity(0))
|
||||
},
|
||||
new FillFlowContainer
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user