summaryrefslogtreecommitdiff
path: root/apps/web/src/masks/snap.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix: address review findings in masks substrateMaze Winther2026-05-021-10/+1
| | | | | | | | | | | | | | | - Remove dead ternary in getPreferredEdges (always returned undefined; the all-false object was never reached by Object.values().some(Boolean)) - Document why drawWithFeather descriptors zero the feather field in the compositor (analytical renderer handles softness itself; zeroing prevents a second JFA feather pass) - Remove legacyType from V30→V31 migration (not consumed anywhere; a down-migration can map type:"freeform" back to "custom" directly) - Add V30→V31 test coverage: skip-guard branches, freeform passthrough, elements without a masks array - Add snap tests for vertical-edge (bottom) and uniform-scale handle paths Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor: type mask handle identifiersMaze Winther2026-05-021-32/+40
| | | | Made-with: Cursor
* refactor: split mask snap dispatchMaze Winther2026-05-021-35/+75
| | | | Made-with: Cursor
* refactor: restructure files to their domains, new preview overlay system, ↵Maze Winther2026-04-201-0/+336
and dep graph