jsme-editor / jsme-editor.github.io

79 stars 20 forks source link

Delete molecule using Delete key caused error #25

Closed seongsangcho-hits closed 1 year ago

seongsangcho-hits commented 2 years ago

Deleting a molecule when there is only one molecule left on the canvas will cause an error.

jsme-editor commented 2 years ago

I can see the error when trying to delete the last atom of the single molecule on the canvas.

inghylt commented 2 years ago

We're experiencing the same problem in our project