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

Translate viewport when undo/redo change lies outside visible area #47

Open
xsot opened this issue Aug 4, 2018 · 1 comment
Open

Translate viewport when undo/redo change lies outside visible area #47

xsot opened this issue Aug 4, 2018 · 1 comment
Labels
Priority: Low Type: Improvement Improvement to existing feature

Comments

@xsot
Copy link
Collaborator

xsot commented Aug 4, 2018

If undoing/redoing results in a change made to the circuit that lies outside the visible area, the viewport should be translated such that it can be seen. This behavior is implemented in various text editors, where the cursor is always kept within view and undoing/redoing positions the cursor to where the change was made.

@xsot xsot added Type: Improvement Improvement to existing feature Priority: Low labels Aug 4, 2018
@btzy
Copy link
Owner

btzy commented Aug 4, 2018

This could be done together with a modification to the way history states are stored - currently history states simply store a snapshot of the whole state at that point in time, but we might want to change it so that it stores only the area that was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Type: Improvement Improvement to existing feature
Projects
None yet
Development

No branches or pull requests

2 participants