mirror of
https://github.com/ppy/osu.git
synced 2025-03-18 06:27:18 +08:00
Use gradient helper function to create toolbar tooltip gradient.
This commit is contained in:
parent
696d21f762
commit
746c28246f
@ -72,12 +72,7 @@ namespace osu.Game.Overlays
|
||||
Anchor = Anchor.BottomLeft,
|
||||
Alpha = 0,
|
||||
Height = 90,
|
||||
ColourInfo = new ColourInfo {
|
||||
TopLeft = new Color4(0.1f, 0.1f, 0.1f, 0.5f),
|
||||
TopRight = new Color4(0.1f, 0.1f, 0.1f, 0.5f),
|
||||
BottomLeft = new Color4(0.1f, 0.1f, 0.1f, 0f),
|
||||
BottomRight = new Color4(0.1f, 0.1f, 0.1f, 0f),
|
||||
},
|
||||
ColourInfo = ColourInfo.GradientVertical(new Color4(0.1f, 0.1f, 0.1f, 0.5f), new Color4(0.1f, 0.1f, 0.1f, 0f)),
|
||||
},
|
||||
new FlowContainer
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user