Macro: If selection is applied to entire structure, when you press Undo, it removes last added bond and highlight remains on monomers between which this bond was
@rrodionov91 is already working on this.
Since Jan 24, 2024.
- Dominant language
- TypeScript
- Stars
- 886
- Forks
- 262
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 110
Description
Steps to Reproduce
- Switch to Macro mode
- Add monomers on canvas and connect them by bond
- Select all structure with Selection tool and press Undo
Actual behavior
If selection is applied to entire structure, when you press Undo, it removes last added bond and highlight remains on monomers between which this bond was. When you press Redo, a bond is added and highlight appears only on it.
Expected behavior
If selection is applied to entire structure, when you press Undo, it removes last added bond and highlight is removed from the entire structure. When you press Redo, a bond is added and highlight is not appears.
Screenshots
https://github.com/epam/ketcher/assets/62464241/8da88d2a-6b0d-4ac1-9607-f0e04f40f171
Desktop (please complete the following information):
- OS: Windows 11
- Browser Chrome
- Version 112.0.5615.138 (Official Build) (64-bit)
Ketcher version
[Version 2.18.0-rc.2]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.