فهرست منبع

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