Skip to content

Commit

Permalink
NoteStruct reworked
Browse files Browse the repository at this point in the history
  • Loading branch information
rvilarl committed Apr 22, 2021
1 parent b372227 commit 06c55f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export abstract class Note extends Tickable {
}

// Set note properties from parameters.
this.keys = noteStruct.keys;
this.keys = noteStruct.keys || [];
// per-pitch properties
this.keyProps = [];

Expand Down

0 comments on commit 06c55f4

Please sign in to comment.