Browse Source

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

fix #485
sschmid 6 năm trước cách đây
mục cha
commit
bf5aaa1846
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {