Skip to content

Commit b2309a9

Browse files
committed
Delay animation slightly
1 parent cb88716 commit b2309a9

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

osu.Game/Screens/Play/BeatmapMetadataDisplay.cs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,16 @@ public bool UserBlocked
6262

6363
if (userBlocked)
6464
{
65-
blockingLoadLayer
66-
.FadeIn(300, Easing.Out)
67-
.Then()
68-
.FadeTo(0.5f, 1000, Easing.In)
69-
.Loop();
65+
using (BeginDelayedSequence(500))
66+
{
67+
blockingLoadLayer
68+
// Slight delay to avoid this flashing briefly during multiplayer load and other scenarios where
69+
// load may be blocked for a short period.
70+
.FadeIn(300, Easing.Out)
71+
.Then()
72+
.FadeTo(0.6f, 1000, Easing.In)
73+
.Loop();
74+
}
7075
}
7176
else
7277
blockingLoadLayer.FadeOut(500, Easing.OutQuint);

0 commit comments

Comments
 (0)