mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
Don't handle clicks when in a loading state
This commit is contained in:
parent
c4f4f32db8
commit
633c3b74ec
@ -1,4 +1,4 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
@ -38,6 +38,8 @@ namespace osu.Game.Overlays.Profile.Sections
|
||||
|
||||
isLoading = value;
|
||||
|
||||
Enabled.Value = !isLoading;
|
||||
|
||||
if (value)
|
||||
{
|
||||
loading.FadeIn(fade_duration, Easing.OutQuint);
|
||||
|
Loading…
Reference in New Issue
Block a user