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

Make switching from/to preview mode a no-op for Undo/Redo #116

Open
niello opened this issue Apr 2, 2022 · 0 comments
Open

Make switching from/to preview mode a no-op for Undo/Redo #116

niello opened this issue Apr 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@niello
Copy link
Collaborator

niello commented Apr 2, 2022

Switching A -> Preview -> A should be treated as no change.
Switching A -> Preview -> B should be treated as A -> B, this may or may not be seen as a change.

Maybe mode switching itself should never be an undo command. Operatopns inside modes are, and Undo/Redo can switch mode automatically based on the current position in the Undo stack.

@niello niello added the enhancement New feature or request label Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant