Skip to content

Commit

Permalink
better positioning for grace notes
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Feb 7, 2019
1 parent 74c944a commit 80f6720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harmonica_tablature.qml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ MuseScore {
tabNotes(notes, text);
// TODO: deal with placement of grace note on the x axis
text.placement = textposition
text.offset = Qt.point(-40, 0)
text.offset = Qt.point(-40 * (graceChords.length - i), 0)
cursor.add(text);
// new text for next element
text = newElement(Element.STAFF_TEXT);
Expand Down

0 comments on commit 80f6720

Please sign in to comment.