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

The cleared object is not returned by the Undo button in the Macromolecules mode. #4543

Closed
NadezhdaPeskun opened this issue Apr 26, 2024 · 1 comment · Fixed by #4641
Closed

Comments

@NadezhdaPeskun
Copy link

NadezhdaPeskun commented Apr 26, 2024

Steps to Reproduce

  1. Switch to Macro
  2. add any object to Canvas (RNA or Peptide)
  3. Press Clear icon
  4. Press Undo >> nothing happens
  5. Press Undo again >> cleared object comes back.

Actual behavior
The cleared object is not returned by the Undo button in the Macromolecules mode.
Object is returned only after press on the Undo button secondary time.
image

Expected behavior
The cleared object should be returned by click on the Undo button first time.

Versions:
Windows 11
Chrome Version Version 123.0.6312.106 (Official Build) (64-bit)
Ketcher Version 2.21.0-rc.1 Build at 2024-04-15; 20:00:15
Indigo Toolkit Version 1.20.0-rc.1.0-g8e8ffc3c3-wasm32-wasm-clang-12.0.0

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Jun 5, 2024

Tested.
Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 124.0.6367.79 (Official Build) (64-bit)

Ketcher version
[Version 2.22.0-rc.2]

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