diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-28 11:53:26 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-28 11:53:26 +0100 |
| commit | 38a35612ab6cc90279cc89577310791a811df0b2 (patch) | |
| tree | 7afba4d57eb9e8ef5b67568dd378b9a0762d0e1a /src | |
| parent | 9b003f762f7fea313ecb3b2b17ef9446881d7a8c (diff) | |
feat(editor): Implement basic undo/redo functionality
Adds the core logic for managing an action history stack and an undo button.
- Initializes undoStack, redoStack, and MAX_HISTORY_SIZE.
- Implements addAction to record operations and clear redoStack.
- Implements handleUndo to revert actions and manage stacks.
- Adds placeholder for redrawCanvas and updateUndoRedoButtons.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
