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

No courtesy keysig to last measure if it is followed by frame with a section break #25865

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz commented Dec 17, 2024

Follow up to #25420

Resolves: #22256
Resolves: #19759

Copy link
Contributor

@sammik sammik left a comment

Choose a reason for hiding this comment

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

I am not sure, if this is best place for souch test.
I think, if section break test "dont create coutesy, if measure is section break" is already in code somewhere , we just should update codnition to "dont create courtesy, if measure is last real measure in system with section break"

@Jojo-Schmitz
Copy link
Contributor Author

Any better place?

@sammik

This comment was marked as outdated.

@sammik
Copy link
Contributor

sammik commented Dec 22, 2024

Any better place?

I would say this one:

if (nm && !m->sectionBreak()) {

with change of !m->sectionBreak() to !m->isFinalMeasureOfSection()

What do You think?

@Jojo-Schmitz Jojo-Schmitz force-pushed the courtesy-keysig-before-frame branch from 574b4b9 to a8c54ca Compare December 22, 2024 09:25
@Jojo-Schmitz
Copy link
Contributor Author

Jojo-Schmitz commented Dec 22, 2024

Looks good to me, thanks. Changed, pushed, attributed...

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Dec 22, 2024
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Dec 25, 2024
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants