Jerald-Golden-B fcd924eb31 feat: Implement undo and redo functionality for 2D scene controls
- Added useRedoHandler to manage redo actions, including socket communication for wall, floor, zone, and aisle updates.
- Added useUndoHandler to manage undo actions, reversing the effects of previous actions with corresponding socket updates.
- Created UndoRedo2DControls component to handle keyboard shortcuts for undo (Ctrl+Z) and redo (Ctrl+Y).
- Established a Zustand store (useUndoRedo2DStore) to maintain undo and redo stacks, with methods for pushing, popping, and peeking actions.
2025-07-29 17:20:34 +05:30
2025-07-09 11:00:48 +00:00
2025-07-01 13:29:12 +00:00
Description
No description provided
89 MiB
Languages
TypeScript 89%
SCSS 10.3%
JavaScript 0.3%
HTML 0.2%
CSS 0.1%