Open trinath503 opened 5 years ago
By when this enhancement is done? If you are unable to do it early, please suggest the approach to it, so that I can try and push the changes
It's fine I find some way to do it, you can share your thought's also.
You'll want to look at how undos are handled for annotations.
You'll want to create an undo action for when a user adds a keypoint which is append to the undo list. When the user undoes it calls the objects functions, pops the last object and overwrites the old keypoint object.
Undo's are complicated to implement. Currently if you click the key point and hit the backspace, it will delete the key point
unable to undo keypoints