forked from musescore/MuseScore
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds some context-aware placement defaults for text and dynamics (in the case that neither "placement" nor "default-y" nor "relative-y" are specified). Namely, both expression text and dynamics are placed below the staff unless it is a vocal staff. To this end, there are some simple checks added to discern whether a part is a vocal part, which is currently a simple check against the name of the staff and a check for the presence of lyrics. Additionally, the "expression text" is currently defined by the presence of italics in the _wordsText, and an absence of _tempoText. Duplicate of musescore#8325, plus fixing a compiler warning, see musescore#8554
- Loading branch information
1 parent
e349a9c
commit 8ef4c87
Showing
9 changed files
with
1,173 additions
and
5 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
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
Binary file not shown.
Oops, something went wrong.