Przeglądaj źródła

update src/VexFlowPatch/readme.txt with new changes

sschmid 4 lat temu
rodzic
commit
33400e2d57

+ 9 - 1
src/VexFlowPatch/readme.txt

@@ -10,9 +10,17 @@ They are copied by the npm prebuild script to ../../node_modules/vexflow/src/ be
 Each .js has comments like "// VexFlowPatch: [explanation]" to indicate what was changed.
 (a diff can be created from the base vexflow version)
 
+beam.js (custom addition):
+add flat_beams, flat_beam_offset, flat_beam_offset_per_beam render_option
+
 stave.js (custom addition):
 prevent a bug where a modifier width is NaN, leading to a VexFlow error
 
+staverepetition.js (custom addition):
+add TO_CODA enum to type() and draw()
+fix x-positioning for TO_CODA and DS_AL_CODA in drawSymbolText()
+fix y-shift
+
 stavevolta.js (merged Vexflow 3.x):
 Fix the length of voltas for first measures in a system
 (whose lengths were wrongly extended by the width of the clef, key signature, etc. (beginInstructions) in Vexflow 1.2.93)
@@ -25,4 +33,4 @@ Add extra_stroke_scale, y_spacing_scale
 
 Currently, we are using Vexflow 1.2.93, because of some formatter advantages
 compared to Vexflow 3.x versions.
-Because of that, we need to patch in a few fixes that came after 1.2.93.
+Because of that, we need to patch in a few fixes that came after 1.2.93.

+ 1 - 1
src/VexFlowPatch/src/staverepetition.js

@@ -49,7 +49,7 @@ export class Repetition extends StaveModifier {
 
   draw(stave, x) {
     this.setRendered();
-    
+
     switch (this.symbol_type) {
       case Repetition.type.CODA_RIGHT:
         this.drawCodaFixed(stave, x + stave.width);