Skip to content

Commit

Permalink
Add graceNoteGroup to Note rendering signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredjj3 committed Jan 3, 2024
1 parent e498628 commit 79cf7d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rendering/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export type NoteRendering = {
key: string;
vexflow: {
staveNote: vexflow.StaveNote;
graceNoteGroup: vexflow.GraceNoteGroup | null;
};
modifiers: NoteModifierRendering[];
timeModification: musicxml.TimeModification | null;
Expand Down Expand Up @@ -188,7 +189,7 @@ export class Note {
type: 'note',
key: keys[index],
modifiers: modifierRenderingGroups[index],
vexflow: { staveNote: vfStaveNote },
vexflow: { staveNote: vfStaveNote, graceNoteGroup: null },
timeModification: notes[index].getTimeModification(),
});
}
Expand Down

0 comments on commit 79cf7d2

Please sign in to comment.