Skip to content

Fix out of date padding table for parts #29353

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 2 commits into from
Aug 19, 2025

Conversation

mike-spa
Copy link
Contributor

Resolves: #26240

We were missing a createPaddingTable call for parts. The result was that the last time the padding table was updated for the part was before the style was loaded (hence it was out of date on first opening the file, but was updating itself when a style change was triggered). We probably never noticed because it's more rare for parts to have non-default spatium and non-default spacing settings. Good thing we fixed this.

Bonus cleanup while I was at it for the minimum padding unit inside the padding table class (which made no sense to be a class member and especially to be set in the score constructor).

Doesn't make sense that it's a member data. Doesn't make sense that it's set by the score constructor.
@its-not-nice its-not-nice added the vtests This PR produces approved changes to vtest results label Aug 19, 2025
@mike-spa mike-spa changed the title Fix out of data padding table for parts Fix out of date padding table for parts Aug 19, 2025
@miiizen miiizen merged commit 4b5a477 into musescore:master Aug 19, 2025
12 of 13 checks passed
mike-spa pushed a commit to mike-spa/MuseScore that referenced this pull request Aug 20, 2025
…ableForParts

Fix out of date padding table for parts
@mike-spa mike-spa mentioned this pull request Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vtests This PR produces approved changes to vtest results
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page layout different after reopening file with custom scaling
3 participants