mirror of
https://github.com/ppy/osu.git
synced 2025-01-29 23:22:55 +08:00
Add note about the visibility logic because it tripped me up
This commit is contained in:
parent
f59762f0cb
commit
c8b38f05d5
@ -159,6 +159,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
|
|
||||||
private void updateVisibility()
|
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);
|
mainFlow.FadeTo(Spectators.Count > 0 && UserPlayingState.Value != LocalUserPlayingState.NotPlaying ? 1 : 0, 250, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user