ソースを参照

commented coloring test

Matthias 8 年 前
コミット
a13a6bb0d6
1 ファイル変更4 行追加3 行削除
  1. 4 3
      src/MusicalScore/Graphical/VexFlow/VexFlowMeasure.ts

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

@@ -301,9 +301,10 @@ export class VexFlowMeasure extends StaffMeasure {
                     }
                     if (notes.length > 1) {
                         vfbeams.push(new Vex.Flow.Beam(notes, true));
-                        for (let note of notes) {
-                            (<Vex.Flow.StaveNote> note).setStyle({fillStyle: "green", strokeStyle: "green"});
-                        }
+                        // just a test for coloring the notes:
+                        // for (let note of notes) {
+                        //     (<Vex.Flow.StaveNote> note).setStyle({fillStyle: "green", strokeStyle: "green"});
+                        // }
                     } else {
                         Logging.log("Warning! Beam with no notes! Trying to ignore, but this is a serious problem.");
                     }