Skip to content

Fix LegacySongProgress position when reapplying the skin during gameplay#37627

Open
curoviyxru wants to merge 3 commits intoppy:masterfrom
curoviyxru:fix-legacy-progress-position
Open

Fix LegacySongProgress position when reapplying the skin during gameplay#37627
curoviyxru wants to merge 3 commits intoppy:masterfrom
curoviyxru:fix-legacy-progress-position

Conversation

@curoviyxru
Copy link
Copy Markdown
Contributor

Fixes #37559.

@peppy
Copy link
Copy Markdown
Member

peppy commented May 4, 2026

This all seems really hacky.

Can we just make the progress at a fixed position and call it a day?

@curoviyxru curoviyxru changed the title Delay accuracy counter update until legacy song progress position is determined Fix LegacySongProgress position when reapplying the skin during gameplay May 4, 2026
}
}

public static float GetAccuracyCounterMaxWidth(this ISkin source)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Okay this is just getting silly now.

Are you writing this code yourself?

Copy link
Copy Markdown
Contributor Author

@curoviyxru curoviyxru May 5, 2026

Choose a reason for hiding this comment

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

Yeah. If that doesn't work, I have no idea how to fix this other than loading a separate LegacyAccuracyCounter or LegacySpriteText just for that. But is it really a less hacky way?

How is it possible to make the progress at a fixed position if it depends on accuracy counter's font sprites size and font overlap?

Will assume that I've missed something in the codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LegacySongProgress can change their position when reapplying the skin during gameplay

2 participants