tilt-shift-camera/app
Ole-Morten Duesund e8a5fa4811 Fix state persistence, drag tracking, and shader rotation sync
State persistence:
- Use rememberUpdatedState to always get latest params inside pointerInput
- Capture gestureStartParams at beginning of each gesture
- All adjustments now use initial values + accumulated change

Drag tracking:
- Track initialDragCentroid at drag start
- Calculate total drag offset from initial point (not frame-by-frame)
- Drag now properly moves focus center 1:1

Shader rotation sync:
- Adjust angle by -90° in shader to compensate for portrait texture rotation
- Preview blur effect now rotates in sync with overlay UI

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 16:10:18 +01:00
..
src/main Fix state persistence, drag tracking, and shader rotation sync 2026-01-28 16:10:18 +01:00
build.gradle.kts Initial implementation of Tilt-Shift Camera Android app 2026-01-28 15:26:41 +01:00
proguard-rules.pro Initial implementation of Tilt-Shift Camera Android app 2026-01-28 15:26:41 +01:00