1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 20:47:51 +08:00

fixes to FooterButtonRandom

This commit is contained in:
LeNitrous 2019-05-03 16:38:15 +08:00
parent 2d227d25cc
commit 009eaa647a

View File

@ -16,7 +16,7 @@ namespace osu.Game.Screens.Select
public FooterButtonRandom()
{
textContainer.Add(secondaryText = new OsuSpriteText
TextContainer.Add(secondaryText = new OsuSpriteText
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
@ -43,12 +43,12 @@ namespace osu.Game.Screens.Select
{
if (secondaryActive)
{
spriteText.FadeOut(120, Easing.InQuad);
SpriteText.FadeOut(120, Easing.InQuad);
secondaryText.FadeIn(120, Easing.InQuad);
}
else
{
spriteText.FadeIn(120, Easing.InQuad);
SpriteText.FadeIn(120, Easing.InQuad);
secondaryText.FadeOut(120, Easing.InQuad);
}
}