-
Notifications
You must be signed in to change notification settings - Fork 5
Add undo/redo #10
Copy link
Copy link
Open
Labels
scope:uiReact components, hotkeys, etc. Anything NOT related to the canvasReact components, hotkeys, etc. Anything NOT related to the canvaswork:new-featureNew feature requestsNew feature requests
Metadata
Metadata
Assignees
Labels
scope:uiReact components, hotkeys, etc. Anything NOT related to the canvasReact components, hotkeys, etc. Anything NOT related to the canvaswork:new-featureNew feature requestsNew feature requests
Performing a reversible action adds it to the undo stack. If the user presses undo, the change is reversed, and it's moved to the redo stack. Likewise the user can press redo to re-apply it and move it back to the undo stack.
The redo stack should be cleared when the user performs a new action.
Actionwhich undoes the change