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

Improve handling for top-anchored judgement positions in osu!mania #32344

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Mar 12, 2025

Preview:

CleanShot.2025-03-12.at.03.05.46-converted.mp4

(notice when given ScorePosition = 100, the judgement is now anchored to the top rather than the bottom)

@peppy
Copy link
Member

peppy commented Mar 13, 2025

If providing a video in the OP, please make it a simple before / after or just after. I struggle to follow a video where you're coding in it (where the code doesn't match the PR's diff).

Origin = Anchor.Centre;
// Extend the dimensions of this drawable to the entire parenting container.
// This allows skin implementations (i.e. LegacyManiaJudgementPiece) to freely choose the anchor based on skin settings.
Anchor = Anchor.TopLeft;
Copy link
Member

Choose a reason for hiding this comment

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

Very unsure about this, but let's see how it plays out I guess...

Copy link
Member

@peppy peppy left a comment

Choose a reason for hiding this comment

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

🤷

@peppy peppy merged commit 02579dc into ppy:master Mar 13, 2025
8 of 10 checks passed
@frenzibyte
Copy link
Member Author

frenzibyte commented Mar 15, 2025

If providing a video in the OP, please make it a simple before / after or just after. I struggle to follow a video where you're coding in it (where the code doesn't match the PR's diff).

It's just a short method of loading a skin with ScorePosition = 100, I should've just attached separate videos and wrote that part explicitly rather than showing myself hardcoding it.

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.

Incorrect display of the "Score Position" since the 2025.220.0 update on Osu!Mania
2 participants