瀏覽代碼

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

fix #945
sschmid 4 年之前
父節點
當前提交
026db91d56
共有 1 個文件被更改,包括 5 次插入4 次删除
  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;
+                            // }
                         }
                     }