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

Add shadow around break overlay middle content to make sure it remains visible #29615

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

peppy
Copy link
Member

@peppy peppy commented Aug 27, 2024

Closes #29599.

Also adds a bright background for testing overlay display.
I didn't really want to move the cursor in front of the HUD, but we face
a bit of an impossible scenario otherwise (it should definitely be in
front of the break overlay for visibility).

So I'll deal with it for now.
Comment on lines +473 to +474
// display the cursor above some HUD elements.
DrawableRuleset.Cursor?.CreateProxy() ?? new Container(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess I understand why this change was made but I will note that it leads to functional differences, namely that the cursor will now be above all HUD elements, not just some of them:

master this PR
osu_2024-08-27_09-52-06 osu_2024-08-27_09-52-43

(see top left area on the screenshots above - on the left, the cursor is underneath the translucent wedge, and on the right it is not).

Was this particular behaviour change intentional or not?

Copy link
Member Author

Choose a reason for hiding this comment

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

Aware, and touched on this in the commit description of abdbe51. I don't have a better solution right now. The visual design intention was to keep the cursor underneath the HUD though.

@bdach bdach merged commit 321e509 into ppy:master Aug 27, 2024
13 checks passed
@peppy peppy deleted the break-overlay-improvements branch August 29, 2024 06:31
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.

mania combo counter can overlap break overlay on some legacy skins
2 participants