mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Fix endless loading state
This commit is contained in:
@ -38,8 +38,6 @@ namespace osu.Game.Overlays.Profile.Sections
|
|||||||
|
|
||||||
isLoading = value;
|
isLoading = value;
|
||||||
|
|
||||||
Enabled.Value = !isLoading;
|
|
||||||
|
|
||||||
if (value)
|
if (value)
|
||||||
{
|
{
|
||||||
loading.FadeIn(fade_duration, Easing.OutQuint);
|
loading.FadeIn(fade_duration, Easing.OutQuint);
|
||||||
@ -108,6 +106,9 @@ namespace osu.Game.Overlays.Profile.Sections
|
|||||||
|
|
||||||
protected override bool OnClick(ClickEvent e)
|
protected override bool OnClick(ClickEvent e)
|
||||||
{
|
{
|
||||||
|
if (IsLoading)
|
||||||
|
return true;
|
||||||
|
|
||||||
IsLoading = true;
|
IsLoading = true;
|
||||||
return base.OnClick(e);
|
return base.OnClick(e);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user