-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[MU3] Fix #322759: Inputing Ottava Bassa via menu or shortcut shows it above staff #8515
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
Conversation
@@ -1414,6 +1414,7 @@ PalettePanel* MuseScore::newLinesPalettePanel() | |||
ottava = new Ottava(gscore); | |||
ottava->setOttavaType(OttavaType::OTTAVA_22MB); | |||
ottava->setLen(w); | |||
ottava->setPlacement(Placement::BELOW); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May not be needed, certainly not for the issue at hand, but I found this to be pretty inconsistent, at least.
@@ -1435,6 +1435,10 @@ void Score::cmdAddOttava(OttavaType type) | |||
cr2 = cr1; | |||
Ottava* ottava = new Ottava(this); | |||
ottava->setOttavaType(type); | |||
if (type == OttavaType::OTTAVA_8VB/* || type == OttavaType::OTTAVA_15MB || type == OttavaType::OTTAVA_22MB*/) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to check for OttavaType::OTTAVA_15MB
and OttavaType::OTTAVA_22MB
, as there's no shortcut for those
@@ -1453,7 +1457,10 @@ void Score::cmdAddOttava(OttavaType type) | |||
|
|||
Ottava* ottava = new Ottava(this); | |||
ottava->setOttavaType(type); | |||
|
|||
if (type == OttavaType::OTTAVA_8VB/* || type == OttavaType::OTTAVA_15MB || type == OttavaType::OTTAVA_22MB*/) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
What's branch 3.x used for? I thought there weren't going to be any more 3.x versions released (only the backend for doing online conversions etc.) |
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
See #9000 |
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
…e staff Duplicate of musescore#8515, resp. backport of musescore#8516
Resolves: https://musescore.org/en/node/322759
PR for master in #8516 (merged already)