소스 검색

fix color beams like stems (needs EngravingRules.ColorStemsLikeNoteheads)

sschmid 5 년 전
부모
커밋
4f10b9548e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/MusicalScore/Graphical/VexFlow/VexFlowVoiceEntry.ts

+ 1 - 1
src/MusicalScore/Graphical/VexFlow/VexFlowVoiceEntry.ts

@@ -103,7 +103,7 @@ export class VexFlowVoiceEntry extends GraphicalVoiceEntry {
                 const beamNotes: Note[] = note.sourceNote.NoteBeam.Notes;
                 let colorBeam: boolean = true;
                 for (let j: number = 0; j < beamNotes.length; j++) {
-                    if (beamNotes[j].NoteheadColor !== noteheadColor) {
+                    if (beamNotes[j].NoteheadColorCurrentlyRendered !== noteheadColor) {
                         colorBeam = false;
                     }
                 }