Browse Source

fix option description

sschmid 5 năm trước cách đây
mục cha
commit
9a6ddf4c43

+ 3 - 3
src/OpenSheetMusicDisplay/OSMDOptions.ts

@@ -5,9 +5,9 @@ import { DrawingParametersEnum, ColoringModes } from "../MusicalScore/Graphical/
  *  Example: osmd.setOptions({defaultColorRest: "#AAAAAA", drawSubtitle: false}); osmd.render();
  *  Example: osmd.setOptions({defaultColorRest: "#AAAAAA", drawSubtitle: false}); osmd.render();
  */
  */
 export interface IOSMDOptions {
 export interface IOSMDOptions {
-    /** Whether to let Vexflow align rests to voices and avoid rest collisions with notes. Default false.
-     * Unfortunately, rest note collision can not be enabled without aligning rests yet,
-     * which also changes the position of rests when there is no simultaneous note at the same x-coordinate.
+    /** Whether to let Vexflow align rests to preceding or following notes (Vexflow option). Default false.
+     * This can naturally reduce collisions of rest notes with other notes.
+     * This also changes the position of rests when there is no simultaneous note at the same x-coordinate.
      */
      */
     alignRests?: boolean;
     alignRests?: boolean;
     /** Whether to automatically create beams for notes that don't have beams set in XML. */
     /** Whether to automatically create beams for notes that don't have beams set in XML. */