Files
to-live-photo/to-live-photo
empty 1556dfd167 fix: 修复裁剪手势状态丢失 + 合并重复预览代码
- 为 MagnificationGesture/DragGesture 添加 .onEnded 处理器,
  新增 lastCropOffset/lastCropScale 累积变量,修复抬手后
  缩放/偏移从初始值重新开始的问题
- 提取 cropPreview(height:dynamicHeight:) 共享方法和
  cropGesture 计算属性,消除 iPhone/iPad 约 60 行重复代码
- resetCropState() 同步重置累积变量

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-07 21:07:59 +08:00
..