forked from musescore/MuseScore
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-53: FretDiagrams create horizontal space
This commit adds a case for including fretboard diagrams when creating horizontal spacing in the ChordRest::shape() function. In pursuit of this, it also extracts a calculateBoundingRect function from FretDiagram::layout(). NOTE: In order to allow "orphaned" FretDiagrams to still create space, the spacer is added to all staves. This is redundant in some cases, so a more performant solution may be desirable in the future. Duplicate of musescore#8296
- Loading branch information
1 parent
f55f5c0
commit 8e617f4
Showing
3 changed files
with
29 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