Wintergatan / Midi-to-laser-cutter

https://wintergatan.github.io/Midi-to-laser-cutter/
MIT License
127 stars 13 forks source link

remove note if clicked #23

Closed djflorio closed 7 years ago

djflorio commented 7 years ago

Notes are now added after a mouseup event instead of click.

When a mousedown event occurs on a note, that note is removed from the notes array, deleting it from the GUI.

The removingNote attribute is used to prevent a new note from being created when the mouse button is released after deleting a note.

DrSkunk commented 7 years ago

Test