I have an ImageFigure as the top figure in the editor. The Image serves as background image which user can annotate.
The issue that I am facing is when user enlarge the size of the editor, the background image shift to maintain center-alignment and leave the annotation behind
I figure there are 2 options to handle this:
1. Make the Image position fixed, maybe force it to keep upper-left alignment.
2. Translate position for all the annotation relatively to the re-alignment of the image.
I don't know how to do either of them. Any pointers?
I figure option 1 is much simpler and preferable.
Or maybe we are approaching it wrong; if anybody know of better way of doing annotation stuff, happy to hear that.