1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

Fix endless loading state

This commit is contained in:
EVAST9919 2019-06-04 02:06:15 +03:00
parent fe6b4112c6
commit 2c71371282

View File

@ -38,8 +38,6 @@ namespace osu.Game.Overlays.Profile.Sections
isLoading = value;
Enabled.Value = !isLoading;
if (value)
{
loading.FadeIn(fade_duration, Easing.OutQuint);
@ -108,6 +106,9 @@ namespace osu.Game.Overlays.Profile.Sections
protected override bool OnClick(ClickEvent e)
{
if (IsLoading)
return true;
IsLoading = true;
return base.OnClick(e);
}