Merge pull request #176 from Tom94/simpler-gradient

Use gradient helper function to create toolbar tooltip gradient.
This commit is contained in:
Dean Herbert 2016-11-16 11:18:31 +09:00 committed by GitHub
commit 89bb87a6f3
2 changed files with 2 additions and 7 deletions

@ -1 +1 @@
Subproject commit eb9869d6f5a15ee7ee3a0cdc006ab9f216444860
Subproject commit 577fba751de1cbcdca4b3bb14a8cd6cb31346274

View File

@ -72,12 +72,7 @@ public Toolbar()
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
{