1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-14 05:47:20 +08:00

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();
Scores.BindCollectionChanged((_, _) => Scheduler.AddOnce(showScores), true);
// Alpha will be updated via `updateVisibility` below.
Alpha = 0;
AlwaysVisible.BindValueChanged(_ => updateVisibility());
configVisibility.BindValueChanged(_ => updateVisibility(), true);
}

View File

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