Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A button to Undo or Redo 3 most recent changes #30

Open
CalliEve opened this issue Nov 23, 2024 · 0 comments
Open

A button to Undo or Redo 3 most recent changes #30

CalliEve opened this issue Nov 23, 2024 · 0 comments

Comments

@CalliEve
Copy link
Owner

Keep the state from before the last changes as a queue of max 3 items.
If undo using button on canvas overlay, or ctlr+z, add current state to redo queue and set current state to state popped from the front of the undo queue.
If redo using button on canvas overlay, or ctlr+shift+z, add current state to undo queue and set current state to state popped from the front of the redo queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant