Is there an existing issue for this?
Current Behavior
Currently when calling the removeNote function from a Beat, the noteStringLookup is not correctly updated: The reference is not removed from the map, which can causes other methods like getNoteOnString and hasNoteOnString to return incorrect values.
Expected Behavior
The removeNote function should remove the note from the noteStringLookup reference.
Steps To Reproduce
- Load a score
- Use
removeNote in a beat with a valid note
- Use
getNoteOnString with the string of the previous note.
- The return should be
null but still is the removed note
Link to jsFiddle, CodePen, Project
No response
Found in Version
1.3-alpha
Platform
Web
Environment
- **OS**: Windows 10 Pro
- **Browser**: Chrome 103.0.5060.134
Anything else?
No response
Is there an existing issue for this?
Current Behavior
Currently when calling the
removeNotefunction from a Beat, thenoteStringLookupis not correctly updated: The reference is not removed from the map, which can causes other methods likegetNoteOnStringandhasNoteOnStringto return incorrect values.Expected Behavior
The
removeNotefunction should remove the note from thenoteStringLookupreference.Steps To Reproduce
removeNotein a beat with a valid notegetNoteOnStringwith the string of the previous note.nullbut still is the removed noteLink to jsFiddle, CodePen, Project
No response
Found in Version
1.3-alpha
Platform
Web
Environment
Anything else?
No response