瀏覽代碼

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.");
                     }