mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 21:57:24 +09:00
fixes to FooterButtonRandom
This commit is contained in:
parent
2d227d25cc
commit
009eaa647a
@ -16,7 +16,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
public FooterButtonRandom()
|
public FooterButtonRandom()
|
||||||
{
|
{
|
||||||
textContainer.Add(secondaryText = new OsuSpriteText
|
TextContainer.Add(secondaryText = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
@ -43,12 +43,12 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
if (secondaryActive)
|
if (secondaryActive)
|
||||||
{
|
{
|
||||||
spriteText.FadeOut(120, Easing.InQuad);
|
SpriteText.FadeOut(120, Easing.InQuad);
|
||||||
secondaryText.FadeIn(120, Easing.InQuad);
|
secondaryText.FadeIn(120, Easing.InQuad);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
spriteText.FadeIn(120, Easing.InQuad);
|
SpriteText.FadeIn(120, Easing.InQuad);
|
||||||
secondaryText.FadeOut(120, Easing.InQuad);
|
secondaryText.FadeOut(120, Easing.InQuad);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user