On double click/Enter, i want to finish marking of annotation where the last point was set and not where the cursor is present

Hi Logan,

This works somewhat close to what I expected but I want to trigger this only on ENTER keyboard event (Changed requirement). On double click, it doesn’t work properly so only on ‘ENTER’ it should go back to one point back.

Also from this, its is not working,
this.viewerInstance.hotkeys.on('enter', e => { this.toolSelected.mouseDoubleClick(e); });

How can I trigger this feature only on enter and not on double click by mouse.