Skip to content

Commit

Permalink
Merge branch 'master' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
ronyeh committed Jan 13, 2022
2 parents 69f0419 + e20bfc1 commit 1376c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/formatter/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ function subgroup(el, iterations, params) {
f.StaveConnector({ top_stave: stave1, bottom_stave: stave2, type: 'singleRight' });

function addAccidental(note, acc) {
return note.addModifier(f.Accidental({ type: acc }), 0);
return note.addModifier(0, f.Accidental({ type: acc }));
}
function addSubGroup(note, subNotes) {
return note.addModifier(f.NoteSubGroup({ notes: subNotes }), 0);
return note.addModifier(0, f.NoteSubGroup({ notes: subNotes }));
}

f.Beam({ notes: notes3.slice(1, 4) });
Expand Down

0 comments on commit 1376c11

Please sign in to comment.