Skip to content

Commit

Permalink
Start key counter / gameplay leaderboard hidden to avoid initial fade…
Browse files Browse the repository at this point in the history
… out
  • Loading branch information
peppy committed Sep 27, 2022
1 parent 87a1e05 commit 0296685
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osu.Game/Screens/Play/HUD/SoloGameplayLeaderboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ protected override void LoadComplete()
base.LoadComplete();
Scores.BindCollectionChanged((_, _) => Scheduler.AddOnce(showScores), true);

// Alpha will be updated via `updateVisibility` below.
Alpha = 0;

AlwaysVisible.BindValueChanged(_ => updateVisibility());
configVisibility.BindValueChanged(_ => updateVisibility(), true);
}
Expand Down
1 change: 1 addition & 0 deletions osu.Game/Screens/Play/KeyCounterDisplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public KeyCounterDisplay()
{
Direction = FillDirection.Horizontal,
AutoSizeAxes = Axes.Both,
Alpha = 0,
};
}

Expand Down

0 comments on commit 0296685

Please sign in to comment.