Explorar o código

fix color beams like stems (needs EngravingRules.ColorStemsLikeNoteheads)

sschmid %!s(int64=5) %!d(string=hai) anos
pai
achega
4f10b9548e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                     }
                 }