respira/src/components/PatternCanvas
Jan-Henrik Bruhn 2b5e1d763b fix: Store original and uploaded pattern data to prevent rotation inconsistencies
Store both original unrotated pesData and uploaded rotated pesData in cache
to ensure exact consistency on resume and prevent issues from algorithm changes
between versions. This fixes rotation/position reset issues after page reload.

- Cache original unrotated pattern + rotation angle for editing
- Cache exact uploaded pattern data sent to machine
- Restore original offset after loading cached pattern
- Use cached uploaded data on resume instead of recalculating

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 22:48:25 +01:00
..
index.ts feature: Refactor PatternCanvas with utility functions and folder structure 2025-12-25 21:15:05 +01:00
KonvaComponents.tsx fix: Refactor KonvaComponents and remove unused rotation code 2025-12-25 21:37:34 +01:00
PatternCanvas.tsx fix: Store original and uploaded pattern data to prevent rotation inconsistencies 2025-12-26 22:48:25 +01:00
patternCanvasHelpers.ts fix: Remove debug logs and refactor with utility functions 2025-12-25 21:49:46 +01:00
PatternLayer.tsx fix: Remove debug logs and refactor with utility functions 2025-12-25 21:49:46 +01:00
PatternPositionIndicator.tsx feature: Extract PatternCanvas display components into reusable modules 2025-12-25 21:19:20 +01:00
ThreadLegend.tsx feature: Extract PatternCanvas display components into reusable modules 2025-12-25 21:19:20 +01:00
ZoomControls.tsx feature: Extract PatternCanvas display components into reusable modules 2025-12-25 21:19:20 +01:00