mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Add a second parallax layer to break overlay arrows
This commit is contained in:
parent
cd3e9b7d54
commit
9cbead55d6
@ -31,23 +31,30 @@ namespace osu.Game.Screens.Play.Break
|
|||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
leftGlowIcon = new GlowIcon
|
new ParallaxContainer
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
ParallaxAmount = -0.01f,
|
||||||
Origin = Anchor.CentreRight,
|
Children = new Drawable[]
|
||||||
X = -glow_icon_offscreen_offset,
|
{
|
||||||
Icon = Graphics.FontAwesome.fa_chevron_right,
|
leftGlowIcon = new GlowIcon
|
||||||
BlurSigma = new Vector2(glow_icon_blur_sigma),
|
{
|
||||||
Size = new Vector2(glow_icon_size),
|
Anchor = Anchor.Centre,
|
||||||
},
|
Origin = Anchor.CentreRight,
|
||||||
rightGlowIcon = new GlowIcon
|
X = -glow_icon_offscreen_offset,
|
||||||
{
|
Icon = Graphics.FontAwesome.fa_chevron_right,
|
||||||
Anchor = Anchor.Centre,
|
BlurSigma = new Vector2(glow_icon_blur_sigma),
|
||||||
Origin = Anchor.CentreLeft,
|
Size = new Vector2(glow_icon_size),
|
||||||
X = glow_icon_offscreen_offset,
|
},
|
||||||
Icon = Graphics.FontAwesome.fa_chevron_left,
|
rightGlowIcon = new GlowIcon
|
||||||
BlurSigma = new Vector2(glow_icon_blur_sigma),
|
{
|
||||||
Size = new Vector2(glow_icon_size),
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.CentreLeft,
|
||||||
|
X = glow_icon_offscreen_offset,
|
||||||
|
Icon = Graphics.FontAwesome.fa_chevron_left,
|
||||||
|
BlurSigma = new Vector2(glow_icon_blur_sigma),
|
||||||
|
Size = new Vector2(glow_icon_size),
|
||||||
|
},
|
||||||
|
}
|
||||||
},
|
},
|
||||||
new ParallaxContainer
|
new ParallaxContainer
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user