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 resume overlay not appearing after pausing when mouse cursor is inside window but outside of actual playfield area #27896

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Apr 16, 2024

Loosely related to #27871 (reply in thread) (although does not actually fix the issue with the pause button, if it is to be considered an issue - the problem there is that the gameplay cursor gets hidden, so the other condition in the modified check takes over).

Regressed in bce3bd5. Reasoning for breakage is silent change in this when moving the Contains() check (DrawableRuleset will encompass screen bounds, while OsuResumeOverlay is only as big as the actual playfield).

Not 100% sure this will be accepted given the discussion that happened on discord but because the change wasn't intentional I guess might as well put this through the review paces...?

…ide of actual playfield area

Related to ppy#27871 (although does
not actually fix the issue with the pause button, _if_ it is to be
considered an issue - the problem there is that the gameplay cursor
gets hidden, so the other condition in the modified check takes over).

Regressed in
ppy@bce3bd5.
Reasoning for breakage is silent change in `this` when moving the
`Contains()` check (`DrawableRuleset` will encompass screen bounds,
while `OsuResumeOverlay` is only as big as the actual playfield).
@smoogipoo smoogipoo merged commit 3bd2bb0 into ppy:master Apr 16, 2024
15 of 17 checks passed
@bdach bdach deleted the fix-pause-overlay-missing-in-osu branch April 16, 2024 13:42
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.

None yet

2 participants