Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix background dim occasionally getting in a bad state when exiting gameplay #26544

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

peppy
Copy link
Member

@peppy peppy commented Jan 15, 2024

Closes #26344.

Can confirm that this was the issue by changing the = false that I added to an = true, will reproduce what was seen in the video.

@bdach bdach self-requested a review January 15, 2024 13:07
b.IgnoreUserSettings.Value = true;

b.IsBreakTime.UnbindFrom(breakTracker.IsBreakTime);
b.IsBreakTime.Value = true;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, this is backwards, and judging from the OP:

Can confirm that this was the issue by changing the = false that I added to an = true

it looks like a leftover change from that confirmation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct

Copy link
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will look away from lack of test coverage as this is annoying to test (requires a beatmap with breaks).

@bdach bdach merged commit 64e94a8 into ppy:master Jan 15, 2024
@peppy peppy deleted the fix-background-dim-failure branch January 16, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Background dim slider doesn't always work correctly
2 participants