Skip to content

Fix player settings no longer collapsing correctly #33958

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

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

peppy
Copy link
Member

@peppy peppy commented Jun 30, 2025

Regressed with #33621 for obvious reasons. Tachyon doing its job, caught this before hitting a proper release.

Closes #33950.

Regressed with ppy#33621 for obvious
reasons. Tachyon doing its job, caught this before hitting a proper
release.
@peppy peppy added area:gameplay next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! labels Jun 30, 2025
@bdach bdach self-requested a review June 30, 2025 08:40
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.

Regressed with #33621 for obvious reasons.

maybe I'll self report as dumb here, but the reasons were not that "obvious". would have saved me time if they were spelled out


[BackgroundDependencyLoader]
private void load()
{
InternalChild = CreateScrollContainer().With(s =>
Copy link
Collaborator

Choose a reason for hiding this comment

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

all I will say to my defense is that the only reason I accepted any of this as weirdly as it was written, was to avoid a virtual member call in ctor, which you have railed against several times in the past. and no, it's not a "technically fine" one in this context, either, because

protected override OsuScrollContainer CreateScrollContainer() => scrollContainer = new OffsetMaintainingScrollContainer();

@bdach bdach merged commit 0877ca5 into ppy:master Jun 30, 2025
9 checks passed
@peppy peppy deleted the fix-player-settings-stuck-oh-nooooooo branch July 2, 2025 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:gameplay next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Tachyon] The replay side bar cannot close after it has been hovered over
2 participants