mirror of
https://github.com/osukey/osukey.git
synced 2025-06-30 07:38:04 +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>
|
/// <summary>
|
||||||
/// osu! logo and its attachments (pulsing, visualiser etc.)
|
/// osu! logo and its attachments (pulsing, visualiser etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class OsuLogo : BufferedContainer
|
public partial class OsuLogo : Container
|
||||||
{
|
{
|
||||||
private Sprite logo;
|
private Sprite logo;
|
||||||
private CircularContainer logoContainer;
|
private CircularContainer logoContainer;
|
||||||
@ -78,6 +78,11 @@ namespace osu.Game.Screens.Menu
|
|||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
logoHoverContainer = new Container
|
logoHoverContainer = new Container
|
||||||
|
{
|
||||||
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
|
new BufferedContainer
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
@ -116,6 +121,8 @@ namespace osu.Game.Screens.Menu
|
|||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Scale = new Vector2(0.5f),
|
Scale = new Vector2(0.5f),
|
||||||
},
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
rippleContainer = new Container
|
rippleContainer = new Container
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
@ -128,7 +135,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
BlendingMode = BlendingMode.Additive,
|
BlendingMode = BlendingMode.Additive,
|
||||||
Scale = new Vector2(0.5f),
|
Scale = new Vector2(0.5f),
|
||||||
Alpha = 0.05f
|
Alpha = 0.15f
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user