|
@@ -2161,8 +2161,7 @@ export abstract class MusicSheetCalculator {
|
|
|
const instruction: AbstractNotationInstruction = sourceMeasure.FirstInstructionsStaffEntries[staffIndex].Instructions[idx];
|
|
|
if (instruction instanceof KeyInstruction) {
|
|
|
const key: KeyInstruction = KeyInstruction.copy(instruction);
|
|
|
- if (this.graphicalMusicSheet.ParentMusicSheet.Transpose !== 0 &&
|
|
|
- measure.ParentStaff.ParentInstrument.MidiInstrumentId !== MidiInstrument.Percussion &&
|
|
|
+ if (measure.ParentStaff.ParentInstrument.MidiInstrumentId !== MidiInstrument.Percussion &&
|
|
|
MusicSheetCalculator.transposeCalculator) {
|
|
|
MusicSheetCalculator.transposeCalculator.transposeKey(
|
|
|
key, this.graphicalMusicSheet.ParentMusicSheet.Transpose
|