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 layout of tremolos attached to chords with opposite stem directions #5987

Merged
merged 1 commit into from
Apr 26, 2020

Conversation

Harmoniker1
Copy link
Contributor

The flattening mechanism should be performed after the boundingRect() operation, otherwise the tremolo strokes will be unnecessarily stretched. Also, the mechanism should take the actual length of the strokes (defaultLength here) into consideration, since 1.0 * _spatium is relative to it.

The flattening mechanism should be performed after the `boundingRect()` operation, otherwise the tremolo strokes will be unnecessarily stretched. Also, the mechanism should take the actual length of the strokes (`defaultLength` here) into consideration, since `1.0 * _spatium` is relative to it.
@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Apr 25, 2020

I guess this is supposed to fix that long stem from #5619, right?
image
Hmm, no, probably not

@Harmoniker1
Copy link
Contributor Author

I guess this is supposed to fix that long stem from #5619, right?

No

@anatoly-os anatoly-os merged commit 97720a2 into musescore:master Apr 26, 2020
@Harmoniker1 Harmoniker1 deleted the tremolo-layout-fix branch April 26, 2020 23:52
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.

3 participants