Explorar o código

cherry-picked from Tab Branch (fixed Tuplets)

Matthias Uiberacker %!s(int64=5) %!d(string=hai) anos
pai
achega
086858b040
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  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);