Files
pdfcraft/crates
alehelandClaude Opus 5.5 11bc8c5652 fix(ui): Add text finishes a paragraph drag that leaves the paragraph's box
With Add text the page's own paragraphs took input only while the pointer was over one
(over_source), and their drags end in edit_text_ui::page_input. A paragraph dragged off its box
was left hanging after the release (block_drag), to land wherever the pointer next met a
paragraph; one flicked off in its first move never started, so nothing moved. main has the same
test. Add text now also acts on the paragraph the page router says holds the press, until the
button is up, so the drag ends where it is released, as with Edit text, and Add text's
new-box path does not take the press over.

New test add_text_finishes_a_paragraph_drag_that_leaves_its_box, seen failing before the fix
(the drag still pending after the release); the flick was checked by hand the same way. From
CodeRabbit's third review of #5300.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 15:32:48 +01:00
..
2026-10-27 23:12:51 +00:00
2026-10-29 02:35:58 +01:00
2026-10-29 02:34:57 +01:00
2026-10-27 00:34:32 +00:00
…
2026-10-29 02:36:20 +01:00