1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 06:22:56 +08:00

Add note about the visibility logic because it tripped me up

This commit is contained in:
Dean Herbert 2025-01-17 17:14:06 +09:00
parent f59762f0cb
commit c8b38f05d5
No known key found for this signature in database

View File

@ -159,6 +159,7 @@ namespace osu.Game.Screens.Play.HUD
private void updateVisibility()
{
// We don't want to show spectators when we are watching a replay.
mainFlow.FadeTo(Spectators.Count > 0 && UserPlayingState.Value != LocalUserPlayingState.NotPlaying ? 1 : 0, 250, Easing.OutQuint);
}