edemaine / cocreate

Cocreate Shared Whiteboard/Drawing
MIT License
209 stars 27 forks source link

Delete key -> delete selection #53

Closed adqm closed 4 years ago

adqm commented 4 years ago

This allows deleting all selected objects by hitting the 'Delete' key, which I think could be a nice QoL improvement.

There's probably a way to refactor this so that the selection.erase and eraser.up share more code, but there is just enough difference between those things that I wasn't sure it was worth doing.