fix #27646
This commit is contained in:
parent
b408591fa1
commit
a4d6faa2ed
1 changed files with 5 additions and 1 deletions
|
@ -1153,6 +1153,10 @@ void Note::endDrag()
|
|||
Key key = staff->key(tick);
|
||||
// determine new pitch of dragged note
|
||||
int nPitch = line2pitch(nLine, clef, key);
|
||||
if (!concertPitch()) {
|
||||
Interval interval = staff->part()->instr()->transpose();
|
||||
nPitch += interval.chromatic;
|
||||
}
|
||||
int tpc1 = pitch2tpc(nPitch, key, Prefer::NEAREST);
|
||||
int tpc2 = pitch2tpc(nPitch - transposition(), key, Prefer::NEAREST);
|
||||
// undefined for non-tablature staves
|
||||
|
|
Loading…
Reference in a new issue