sschmid 4 年之前
父節點
當前提交
f0802b324e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/MusicalScore/Graphical/GraphicalNote.ts

+ 2 - 1
src/MusicalScore/Graphical/GraphicalNote.ts

@@ -68,7 +68,8 @@ export class GraphicalNote extends GraphicalObject {
       return this.parentVoiceEntry.parentStaffEntry.parentMeasure.ParentMusicSystem.Parent;
     }
 
-    /** Get a GraphicalNote from a Note. Use osmd.rules as the second parameter (instance reference). */
+    /** Get a GraphicalNote from a Note. Use osmd.rules as the second parameter (instance reference).
+     *  Also more easily available via osmd.rules.GNote(note). */
     public static FromNote(note: Note, rules: EngravingRules): GraphicalNote {
       return rules.NoteToGraphicalNoteMap.getValue(note.NoteToGraphicalNoteObjectId);
     }