forked from musescore/MuseScore
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GH#9779 beam stem direction flip
Update chord's set stem direction method to set the beam's direction to Direction::AUTO if applicable. Update the beam's set direction method to update its notes' stem direction. When a beam's direction is set with the "x" keyboard key, the "_direction" member of the beam class is no longer equal to "Direction::AUTO". So, in the beam's layout code the final beam direction is not taken from the first note in the note group (of the beam) but from the "_direction" member. The problem is that if the user tries to set the beam's direction with a note stem direction (in the property panel), it will be ignored in the beam's layout code. Backport of musescore#9800, resp. duplicate of musescore#9851
- Loading branch information
1 parent
86b5461
commit baa3d94
Showing
7 changed files
with
1,359 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.