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:
parent
fe6b4112c6
commit
2c71371282
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user