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 whole note tremolo positions #10131

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

Nick-Mazuk
Copy link
Contributor

Positions one-note tremolos on whole notes identically to those on stemmed notes. I also removed the magic numbers by creating two new style parameters. That way there's a single source of truth for the position for the tremolos.

@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Dec 20, 2021

Vtests crash at generating the current PNGs, utests crash with a failed assertion.

@Nick-Mazuk Nick-Mazuk force-pushed the whole-note-tremolo branch 2 times, most recently from 30f0f64 to 3a947ef Compare December 20, 2021 17:39
@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Dec 20, 2021

Still the same assertion failure: ASSERT: "MStyle::valueType(idx) == mu::engraving::P_TYPE::REAL" in file ../src/engraving/style/style.h, line 64, seems it doesn't like the styleD() usage in chord.cpp? Like assigning a double to an int?

@Nick-Mazuk Nick-Mazuk force-pushed the whole-note-tremolo branch 2 times, most recently from eb67f1a to 087bfe1 Compare December 20, 2021 19:26
change noteSide tremolo padding to 1.25 spaces

fix failing tests

fix small bugs

fix one-note tremolo alignment on stemless chords with mirrored note
@vpereverzev vpereverzev merged commit ce7ffdd into musescore:master Dec 21, 2021
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

4 participants