mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 12:32:52 +00:00
`fix(ui): a comment's move, resize or reshape ends` ended a comment's move, resize or reshape once the button was up, and applied it where the pointer then was: when the pages missed the release (the page scrolled out of range, a tab switch, a tool switched mid-drag), the comment jumped to wherever the pointer next showed up over its page, and while the pointer stayed off the pages the gesture waited for it. Only a drag that stops on the page applies its gesture now; one that ends with the button up and no drag stopped there ends with nothing applied, whether the pointer is on the page or not. The test hovers away from the move's start, where the jump shows. Found in review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>