Add lasso selection and pasted images #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "select-and-images"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a lasso Select tool and pasted images.
Selection
S): draw a loop around ink and images. Only things entirely inside get selected; tapping selects a single object. Shift adds to the selection,Ctrl+Aselects the whole page.Ctrl+C/X/V/DandDeletework too; each change is one undo step.Images
assetsstore (DB version 2).papure/pages/<id>.images.json+papure/assets/<hash>.png|jpg, each asset once. Older app versions can open these files but drop the images when they save.Dark mode
Dark pages now invert each layer (PDF, text, ink) separately instead of the whole page, so images keep their real colours. The inverted ink layer is screen-blended so highlighted text stays bright. The page outline now uses the theme's own line colour.
Testing
npm test(50 tests, including new selection, clip and image round-trip tests),npm run checkandnpm run buildpass.Design and follow-ups (drag across pages, rotate, crop, paste as new page) are in
spec.md§10–11.🤖 Generated with Claude Code
https://claude.ai/code/session_01UcbKnqfprs8hMkTVsYx1dh