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

Fix lyrics odd-even style bug #23868

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

mike-spa
Copy link
Contributor

@mike-spa mike-spa commented Aug 1, 2024

Resolves: #23846

Additionally, this PR also reintroduces the use of lineSpacing() for calculating the line height between the different lyrics verses. The metric currently being used was lineHeight(), which I'd recently introduced as a way of getting around #22189. Now that that issue has been fixed, lineSpacing() is the correct metric to use. This will show up in the vtests as a slight increase in vertical distance between the verses.

@oktophonie oktophonie added the vtests This PR produces approved changes to vtest results label Aug 2, 2024
@cbjeukendrup
Copy link
Contributor

Especially after this fix, I don't seem to see much benefit in the m_even member of Lyrics. What do you think about removing it?

@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Aug 5, 2024

See also #23506, I believe the fix from there is also needed

@mike-spa
Copy link
Contributor Author

mike-spa commented Aug 6, 2024

Especially after this fix, I don't seem to see much benefit in the m_even member of Lyrics. What do you think about removing it?

Oh yes thanks. That was an absolute horror, happy to get rid of it

@mike-spa
Copy link
Contributor Author

mike-spa commented Aug 6, 2024

See also #23506, I believe the fix from there is also needed

No it isn't

@mike-spa mike-spa merged commit 1de8be6 into musescore:master Aug 6, 2024
10 of 11 checks passed
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.

"Lyrics even line" style applies only to first entered syllable
4 participants