mirror of
https://github.com/osukey/osukey.git
synced 2025-05-18 20:17:23 +09:00
Inline animation method
This commit is contained in:
parent
e51babdb96
commit
1900480d51
@ -155,7 +155,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
t.Origin = Anchor.Centre;
|
t.Origin = Anchor.Centre;
|
||||||
t.Colour = colours.Pink;
|
t.Colour = colours.Pink;
|
||||||
|
|
||||||
Schedule(animateHeart);
|
Schedule(() => heart?.FlashColour(Color4.White, 750, Easing.OutQuint).Loop());
|
||||||
});
|
});
|
||||||
|
|
||||||
if (supportFlow.IsPresent)
|
if (supportFlow.IsPresent)
|
||||||
@ -251,10 +251,5 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
return tips[RNG.Next(0, tips.Length)];
|
return tips[RNG.Next(0, tips.Length)];
|
||||||
}
|
}
|
||||||
|
|
||||||
private void animateHeart()
|
|
||||||
{
|
|
||||||
heart?.FlashColour(Color4.White, 750, Easing.OutQuint).Loop();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user