Explorar o código

fix(Stems): don't auto-stem beams for tuplets (#945), respect SetWantedStemDirectionByXml

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

+ 5 - 4
src/MusicalScore/Graphical/VexFlow/VexFlowMeasure.ts

@@ -791,10 +791,11 @@ export class VexFlowMeasure extends GraphicalMeasure {
                     for (const gve of voiceEntries) {
                         if (gve.parentVoiceEntry.ParentVoice === psBeam.Notes[0].ParentVoiceEntry.ParentVoice) {
                             autoStemBeam = gve.parentVoiceEntry.WantedStemDirection === StemDirectionType.Undefined;
-                            if (psBeam.Notes[0].NoteTuplet) {
-                                autoStemBeam = true; // TODO fix necessary for now for tuplets with beams, see test_drum_tublet_beams
-                                break;
-                            }
+                            // if (psBeam.Notes[0].NoteTuplet) {
+                            //     autoStemBeam = true;
+                            //     // this fix seemed temporarily necessary for tuplets with beams, see test_drum_tublet_beams
+                            //     break;
+                            // }
                         }
                     }