Explorar o código

fix(tuplet): correct tuplet label for number of notes not equal to tuplet label

fix #485
sschmid %!s(int64=6) %!d(string=hai) anos
pai
achega
bf5aaa1846
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/MusicalScore/Graphical/VexFlow/VexFlowMeasure.ts

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

@@ -734,7 +734,7 @@ export class VexFlowMeasure extends GraphicalMeasure {
                                                           {
                                                             bracketed: bracketed,
                                                             notes_occupied: notesOccupied,
-                                                            num_notes: tupletStaveNotes.length, //, location: -1, ratioed: true
+                                                            num_notes: tuplet.TupletLabelNumber, //, location: -1, ratioed: true
                                                             ratioed: EngravingRules.Rules.TupletsRatioed,
                                                           }));
                     } else {