Start key counter / gameplay leaderboard hidden to avoid initial fade out

This commit is contained in:
Dean Herbert
2022-09-27 17:25:24 +09:00
parent 87a1e05641
commit 0296685c74
2 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,9 @@ namespace osu.Game.Screens.Play.HUD
base.LoadComplete(); base.LoadComplete();
Scores.BindCollectionChanged((_, _) => Scheduler.AddOnce(showScores), true); Scores.BindCollectionChanged((_, _) => Scheduler.AddOnce(showScores), true);
// Alpha will be updated via `updateVisibility` below.
Alpha = 0;
AlwaysVisible.BindValueChanged(_ => updateVisibility()); AlwaysVisible.BindValueChanged(_ => updateVisibility());
configVisibility.BindValueChanged(_ => updateVisibility(), true); configVisibility.BindValueChanged(_ => updateVisibility(), true);
} }

View File

@ -39,6 +39,7 @@ namespace osu.Game.Screens.Play
{ {
Direction = FillDirection.Horizontal, Direction = FillDirection.Horizontal,
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Alpha = 0,
}; };
} }