10-21-2023, 05:04 AM
I have adjusted the logic for the next update so that the touch events aren't canceled the second you touch outside the page. This should resolve the problem you are seeing. However, you still can't draw a box outside the page - that causes too many potential issues that I don't want to have to deal with, and I don't really see the need or benefit of being able to do this. Right now, there is a transparent layer that sits on top of the page that is the same size of the page, and this layer handles all of the touch interactions. This ensures that annotations can be drawn on this layer without having to redraw the image for the page over and over as annotations are added. If this layer was larger than the page, then I start having to handle coordinate conversions between the layer and the page, and try to figure out how to handle scenarios like the user drawing a freeform annotation outside the page.
Mike
Mike