Skip to content
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

Change default value for tablature position, Do not write tab under tied notes #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Tablature par défaut en position Lower, et pas d'écriture de la tabla…
…ture si on est sur une note liée
  • Loading branch information
Thibibi committed Dec 16, 2018
commit 82e4f7bfe2b544f3f5765d5935c1f3178560e075
6 changes: 5 additions & 1 deletion harmonica_tablature.qml
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,12 @@ MuseScore {
if (typeof tab === "undefined")
text.text = "X";
else {
if (bendChar !== "b")
if (notes[i].tieBack != null) {
// Pas de tablature si la note est une note liée
tab = ""
} else if (bendChar !== "b") {
tab = tab.replace(/b/g, bendChar);
}
text.text = tab + text.text;
}
}
Expand Down