Open PeterTheOne opened 7 years ago
How could I have forgotten that! Thanks for the feature request, I'll put it in once I'm done trudging through emails. The only small hiccup I'd have to consider is that the delete key should delete the selected object unless you're typing in a text field
i've done that in #20 : when you press delete key, it delete the text of the object. If you press it again (if there is no text for the entity, then it kill it.
For node object, there is an
kill()
function. I wonder how to add an eventListener of KeyCodes 46(DELETE) inside the node... Usingsubscribe()
or other method?