Browse Source

cherry-picked from Tab Branch (fixed Tuplets)

Matthias Uiberacker 5 years ago
parent
commit
086858b040
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/MusicalScore/Graphical/MusicSheetCalculator.ts

+ 7 - 1
src/MusicalScore/Graphical/MusicSheetCalculator.ts

@@ -1606,7 +1606,13 @@ export abstract class MusicSheetCalculator {
                                                                                                         undefined);
                 tabStaffEntry.addGraphicalNoteToListAtCorrectYPosition(graphicalTabVoiceEntry, graphicalTabNote);
                 graphicalTabNote.PositionAndShape.calculateBoundingBox();
-        }
+
+                if (!this.leadSheet) {
+                    if (note.NoteTuplet) {
+                        this.handleTuplet(graphicalTabNote, note.NoteTuplet, openTuplets);
+                    }
+                }
+            }
         }
         if (voiceEntry.Articulations.length > 0) {
             this.handleVoiceEntryArticulations(voiceEntry.Articulations, voiceEntry, graphicalStaffEntry);