fcd924eb313e6462c28b808b1951a8eda406ce25
- 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.
Description
No description provided
Languages
TypeScript
89%
SCSS
10.3%
JavaScript
0.3%
HTML
0.2%
CSS
0.1%