Преглед на файлове

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

fix #485
sschmid преди 6 години
родител
ревизия
bf5aaa1846
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 {