mirror of
https://github.com/osukey/osukey.git
synced 2025-06-29 23:28:00 +09:00
Move BufferedContainer usage to allow ripple to blend correctly with the background layer.
This commit is contained in:
parent
511dab32ef
commit
2342a17dbc
@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user