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

Macro: undo/redo does not toggle snake mode #3633

Closed
rrodionov91 opened this issue Nov 29, 2023 · 2 comments · Fixed by #3682
Closed

Macro: undo/redo does not toggle snake mode #3633

rrodionov91 opened this issue Nov 29, 2023 · 2 comments · Fixed by #3682

Comments

@rrodionov91
Copy link
Collaborator

Steps to Reproduce

  1. Go to Macromolecules mode
  2. Add peptide chain on canvas
  3. Click on 'Snake mode' button on left tool panel
  4. Click on 'Undo' button on left tool panel

Actual behavior
Chain position changed on previous one(before snake layout), however snake mode still turned on and bonds drawn as snake ones.

Expected behavior
A clear and concise description of what you expected to happen.
Snake mode turned off and bonds drawn as straight lines.

Nitvex added a commit that referenced this issue Dec 11, 2023
Nitvex added a commit that referenced this issue Dec 11, 2023
Nitvex added a commit that referenced this issue Dec 12, 2023
rrodionov91 pushed a commit that referenced this issue Dec 12, 2023
* #3633 – Macro: undo/redo does not toggle snake mode

* #3633 – added mode layer

* #3633 – added e2e-tests

* #3633 – eliminated cicrular dependency
@Zhirnoff
Copy link
Collaborator

Autotests added to the table.

@AlexeyGirin
Copy link
Collaborator

Verified.

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

Successfully merging a pull request may close this issue.

4 participants