瀏覽代碼

fix(Repetition): don't render a downward jog at type 'discontinue' (#656)

fix #656
sschmid 5 年之前
父節點
當前提交
996847db09
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/MusicalScore/ScoreIO/MusicSymbolModules/RepetitionInstructionReader.ts

+ 1 - 1
src/MusicalScore/ScoreIO/MusicSymbolModules/RepetitionInstructionReader.ts

@@ -104,7 +104,7 @@ export class RepetitionInstructionReader {
             this.addInstruction(this.repetitionInstructions, newInstruction);
           }
         } else { // location right
-          if (type === "stop" || type === "discontinue") {
+          if (type === "stop") {
             const newInstruction: RepetitionInstruction = new RepetitionInstruction(this.currentMeasureIndex, RepetitionInstructionEnum.Ending,
                                                                                     AlignmentType.End, undefined, endingIndices);
             this.addInstruction(this.repetitionInstructions, newInstruction);