mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Fix weird transition
This commit is contained in:
parent
83f3d3abde
commit
d2007cfb38
@ -114,7 +114,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
currentUser.BindTo(api.LocalUser);
|
currentUser.BindTo(api.LocalUser);
|
||||||
currentUser.BindValueChanged(e =>
|
currentUser.BindValueChanged(e =>
|
||||||
{
|
{
|
||||||
supportFlow.Children.ForEach(d => d.FadeOut(500, Easing.OutQuint).Expire());
|
supportFlow.Children.ForEach(d => d.FadeOut().Expire());
|
||||||
|
|
||||||
if (e.NewValue.IsSupporter)
|
if (e.NewValue.IsSupporter)
|
||||||
{
|
{
|
||||||
@ -137,6 +137,9 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
if (IsLoaded)
|
if (IsLoaded)
|
||||||
animateHeart();
|
animateHeart();
|
||||||
|
|
||||||
|
if (supportFlow.IsPresent)
|
||||||
|
supportFlow.FadeInFromZero(500);
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user