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

Don't save undo/redo history when aborting transactions #1660

Merged

Conversation

milan-sedivy
Copy link
Contributor

For now solved with a simple split of undo/redo into a "forgettable" version and non-forgettable.
Fixes #1659

@milan-sedivy milan-sedivy marked this pull request as ready for review March 9, 2024 10:51
@Keavon Keavon force-pushed the fix-undo-for-aborted-transaction branch from d3b0642 to de2a2b0 Compare March 10, 2024 22:45
@Keavon
Copy link
Member

Keavon commented Mar 11, 2024

!build

Copy link

📦 Build Complete for de2a2b0
https://09f4ff5f.graphite.pages.dev

@Keavon
Copy link
Member

Keavon commented Mar 11, 2024

Redo history is still wiped out (as before), but now it doesn't put the wrong history state into the redo history. E.g. previously, you could drag a shape upwards and abort, and that upward location where you aborted would be stored in one step of redo history. Now it simply loses all redo history, which is a separate issue.

@Keavon Keavon merged commit d714166 into GraphiteEditor:master Mar 11, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

Aborted Transactions are saved in Redo history
3 participants