mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-11 13:24:35 +00:00
A comment's gesture ended only on egui's `drag_stopped()`. When the pages missed its release (the button let go where they didn't see it), the gesture stayed live: it kept the page's frames from Fill & Sign and the shape tools, and the next drag that stopped on the page committed it, taking the comment there. It now ends, as the other page gestures do, on `drag_stopped()` or once the primary button is up, where the pointer is. Two tests planted a live move with the button up to check that a live move keeps its page's presses (`main`'s `active_comment_gesture_keeps_highlighted_link_click` and 4a's `a_fill_and_sign_click_places_nothing_while_a_mark_is_moved`). That state now ends at once, so both hold the press through the planted move instead: the intent stands, and each still fails with the live-move guard taken out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>