Add shadow to opaque toolbar elements.

This commit is contained in:
Dean Herbert
2017-01-30 22:16:17 +09:00
parent cbd6fe3f36
commit b2ec3508d5

View File

@ -168,6 +168,12 @@ namespace osu.Game.Overlays.Toolbar
{
RelativeSizeAxes = Axes.Both;
Masking = true;
EdgeEffect = new EdgeEffect
{
Type = EdgeEffectType.Shadow,
Colour = Color4.Black.Opacity(40),
Radius = 5,
};
Children = new Drawable[]
{