fixing music key transpose

This commit is contained in:
Mateus Meyer Jiacomelli 2022-06-15 13:45:49 -03:00
parent c0fc17fd88
commit 4eb0f9c032
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ export class ChordProPipe implements PipeTransform {
const chordRoot = comp.chordRoot(chord);
let newRoot = comp.transposeChord(chordRoot, nHalfSteps);
if (isLastChordKey) {
newRoot = this.KEY_PREFIX + newRoot
newRoot = this.KEY_PREFIX + newRoot;
}
return newRoot + comp.restOfChord(chord);
}).join('/');