1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-28 10:17:19 +08:00

Use gradient helper function to create toolbar tooltip gradient.

This commit is contained in:
Thomas Müller 2016-11-15 19:09:30 +01:00
parent 696d21f762
commit 746c28246f

View File

@ -72,12 +72,7 @@ namespace osu.Game.Overlays
Anchor = Anchor.BottomLeft, Anchor = Anchor.BottomLeft,
Alpha = 0, Alpha = 0,
Height = 90, Height = 90,
ColourInfo = new ColourInfo { ColourInfo = ColourInfo.GradientVertical(new Color4(0.1f, 0.1f, 0.1f, 0.5f), new Color4(0.1f, 0.1f, 0.1f, 0f)),
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),
},
}, },
new FlowContainer new FlowContainer
{ {