mirror of https://gitlab.com/openlp/web-remote.git
fixing music key transpose
This commit is contained in:
parent
c0fc17fd88
commit
4eb0f9c032
|
@ -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('/');
|
||||
|
|
Loading…
Reference in New Issue