mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix endless loading state
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user