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 #54221: bd layout with measure after horizontal frame #2068

Merged
merged 1 commit into from
Jun 27, 2015

Conversation

MarcSabatella
Copy link
Contributor

layoutSystem() always takes at least one measure, thus forcing at least one measure to always appear after a horizontal frame whether it fits or not. This change checks the return value from layoutSystem() to be sure it really fits in the row.

I also fixed a glitch in the next line, where we are trying to decide if the last system row needs to be filled, but we actually check only the last system within the row, so we don't fill some systems we should.

@lasconic
Copy link
Contributor

Looks good to me. @wschweer any opinion?

@wschweer
Copy link
Contributor

looks ok for me

wschweer added a commit that referenced this pull request Jun 27, 2015
fix #54221: bd layout with measure after horizontal frame
@wschweer wschweer merged commit ff2d6e8 into musescore:master Jun 27, 2015
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

3 participants