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 #14353: lyrics and staff spacers don't work with hide empty staves #1124

Merged
merged 1 commit into from Aug 12, 2014

Conversation

MarcSabatella
Copy link
Contributor

Fixes calculation of system height when there are spacers down or lyrics adding to distanceDown for a staff and the staves below are all hidden/empty. I thought maybe spacers up and/or fret diagrams would have a similar issue, but they don't - the bbox() calculation already accounts for those.

I will say I don't totally understand all the interactions between the calculations involved, and I wouldn't mind if someone reviewed this a bit to be sure I am not doing something stupid. But it does fix the problem cases, and should not change behavior if the bottom staff is not hidden.

lasconic added a commit that referenced this pull request Aug 12, 2014
fix #14353: lyrics and staff spacers don't work with hide empty staves
@lasconic lasconic merged commit c4b25c0 into musescore:master Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants