Decrease alpha of delayed resume overlay as count approaches zero

Allows better visibility of playfield underneath it.
This commit is contained in:
Dean Herbert 2024-05-01 19:31:39 +08:00
parent 61350ebf6e
commit 67c0d7590a
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -170,6 +170,8 @@ private void updateCountdown()
countdownProgress.Progress = amountTimePassed;
countdownProgress.InnerRadius = progress_stroke_width / progress_size / countdownProgress.Scale.X;
Alpha = 0.2f + 0.8f * newCount / 3f;
if (countdownCount != newCount)
{
if (newCount > 0)