Bladeren bron

docs: fix docstring for coloringSetCustom

sschmidTU 6 jaren geleden
bovenliggende
commit
86258fd9bd
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/OpenSheetMusicDisplay/OSMDOptions.ts

+ 1 - 1
src/OpenSheetMusicDisplay/OSMDOptions.ts

@@ -17,7 +17,7 @@ export interface IOSMDOptions {
      *  If coloringMode.CustomColorSet (2) is chosen, a coloringSetCustom parameter must be added.
      */
     coloringMode?: ColoringModes;
-    /** Set of 7 colors for automatic coloring of notes from C to B in HTML form (e.g. #00ff00).  */
+    /** Set of 8 colors for automatic coloring of 7 notes from C to B + rest note in HTML form (e.g. "#00ff00" for green).  */
     coloringSetCustom?: string[];
     /** Whether to enable coloring noteheads and stems by their XML color attribute. */
     coloringEnabled?: boolean;