evanw / fsm

Finite State Machine Designer
297 stars 145 forks source link

Fix for macOS - add option to delete an object by pressing the `return` key. #28

Open DavidWrightOS opened 3 years ago

DavidWrightOS commented 3 years ago

Some keyboards don't have a delete key option when using with macOS.

This pull request adds a second key return (or enter) which will trigger the delete object functionality.

diptopandit commented 3 years ago

On MacOS 'Fn+Del' will produce Key 46, using 'return' is counter-intuitive for deleting something