Move BufferedContainer usage to allow ripple to blend correctly with the background layer.

This commit is contained in:
Dean Herbert 2016-12-01 21:29:14 +09:00
parent 511dab32ef
commit 2342a17dbc

View File

@ -21,7 +21,7 @@ namespace osu.Game.Screens.Menu
/// <summary>
/// osu! logo and its attachments (pulsing, visualiser etc.)
/// </summary>
public partial class OsuLogo : BufferedContainer
public partial class OsuLogo : Container
{
private Sprite logo;
private CircularContainer logoContainer;
@ -78,6 +78,11 @@ namespace osu.Game.Screens.Menu
Children = new Drawable[]
{
logoHoverContainer = new Container
{
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{
new BufferedContainer
{
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
@ -116,6 +121,8 @@ namespace osu.Game.Screens.Menu
Origin = Anchor.Centre,
Scale = new Vector2(0.5f),
},
}
},
rippleContainer = new Container
{
Anchor = Anchor.Centre,
@ -128,7 +135,7 @@ namespace osu.Game.Screens.Menu
Origin = Anchor.Centre,
BlendingMode = BlendingMode.Additive,
Scale = new Vector2(0.5f),
Alpha = 0.05f
Alpha = 0.15f
}
}
},