SIGN IN SIGN UP
OpenCut-app / OpenCut UNCLAIMED

The open-source CapCut alternative

0 0 25 TypeScript

fix: address review findings in masks substrate

- 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>
M
Maze Winther committed
f66cdbfeb2e8b68e70e1f8595c38cacf58210ddf
Parent: 99137fe