Browse Source
- Wrap store creation with temporal() middleware - partialize: Only track nodes (binary-stripped), edges, edgeStyle, groups - limit: 20 undo steps max - equality: Fast referential check using undoStateEquality() - Add keyboard shortcuts: - Ctrl/Cmd+Z: Undo last change - Ctrl/Cmd+Shift+Z: Redo - Ctrl/Cmd+Y: Redo (Windows alt) - Add drag debouncing to prevent per-pixel snapshots: - onNodeDragStart: Pause temporal tracking - onNodeDragStop: Resume tracking and capture final position - Add _nudgeForSnapshot() helper to force snapshot capture - Mark workflow as unsaved after undo/redohandoff-20260429-1057
2 changed files with 71 additions and 3 deletions
Loading…
Reference in new issue