Explorar o código

docs: correct comment

sschmidTU %!s(int64=6) %!d(string=hai) anos
pai
achega
30e2b28420
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/MusicalScore/Graphical/VexFlow/VexFlowMeasure.ts

+ 3 - 1
src/MusicalScore/Graphical/VexFlow/VexFlowMeasure.ts

@@ -781,7 +781,9 @@ export class VexFlowMeasure extends GraphicalMeasure {
                     const graceNotes: Vex.Flow.GraceNote[] = [];
                     for (let i: number = 0; i < graceGVoiceEntriesBefore.length; i++) {
                         const gveGrace: VexFlowVoiceEntry = <VexFlowVoiceEntry>graceGVoiceEntriesBefore[i];
-                        //if (gveGrace.notes[0].sourceNote.PrintObject) { // grace notes should still be rendered transparently instead of skipped
+                        //if (gveGrace.notes[0].sourceNote.PrintObject) {
+                        // grace notes should generally be rendered independently of main note instead of skipped if main note is invisible
+                        // could be an option to make grace notes transparent if main note is transparent. set grace notes' PrintObject to false then.
                         const vfStaveNote: StaveNote = VexFlowConverter.StaveNote(gveGrace);
                         gveGrace.vfStaveNote = vfStaveNote;
                         graceNotes.push(vfStaveNote);