mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 12:32:52 +00:00
`refactor(ui): crop mode is a hit of its picture` moved the picture's Delete to the app's key handling, which runs before the page view, so its edit applied before added content read the keys. Added content's selection mirrors the picture's when the picture is added content (`sync_image_selection`), and once the picture was gone that index named the next added item on the page: added content's own Delete, seeing the same key press, deleted it too. The picture's Delete consumes the key, and drops the mirrored selection with the picture's. Found in review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>