annotorious / annotorious-v2-plugins

Plugins compatible with the RecogitoJS, Annotorious and AnnotoriousOSD annotation libraries
BSD 3-Clause "New" or "Revised" License
29 stars 19 forks source link

BetterPloygon: switch from key code to key name for better cross-platform compatibility #29

Closed AlexMili closed 2 years ago

AlexMili commented 2 years ago

Deleting a handle is not possible on Mac because the key code used in code (46) does not exist. A more cross-platform way to do it would be to use key name instead of their code.

rsimon commented 2 years ago

That's great - thanks!