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 #121431: fit hairpins between adjacent dynamics #4203

Merged

Conversation

dmitrio95
Copy link
Contributor

Adjusts horizontal dimensions of hairpins to fit between adjacent
dynamics, if any exist. No vertical aligning included, as it is
already available in the form of begin/end text for hairpins.
Still for some common cases the logic added by this commit is
good enough.

Dimensions calculation code is taken (with some adjustments) from
8bdd1af

Also includes:

  • Rename/update Segment::findAnnotation[orElement]
  • Add Score::isPalette() to make it easier to distinguish between
    palette and normal scores on layout stage.

Adjusts horizontal dimensions of hairpins to fit between adjacent
dynamics, if any exist. No vertical aligning included, as it is
already available in the form of begin/end text for hairpins.
Still for some common cases the logic added by this commit is
good enough.

Dimensions calculation code is taken (with some adjustments) from
8bdd1af

Also includes:
 - Rename/update Segment::findAnnotation[orElement]
 - Add Score::isPalette() to make it easier to distinguish between
   palette and normal scores on layout stage.
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