Add Functional Group connected with atom on canvas
Select another Functional Group and add to canvas
Choose 'Selection tool' and drag FG to Functional Group connected with atom and try to connect to FG
Choose 'Selection tool' and drag FG to Functional Group connected with atom and try to connect to atom
Actual behavior
1) Connection to Functional Group: FG overlap FG
2) Connection to atom: Two functional groups are formed after connection to atom. Sometimes four
Note: Pay attention to the highlight of the atoms and bond - they start to glow when the FG is just brought up to them
Expected behavior
1) Connection to Functional Group: FG replace FG
2) Connection to atom: FG replace atom
Note: Pay attention to the highlight of the atoms and bond - they start to glow when the FG is just brought up to them
Steps to Reproduce
Actual behavior 1) Connection to Functional Group: FG overlap FG 2) Connection to atom: Two functional groups are formed after connection to atom. Sometimes four Note: Pay attention to the highlight of the atoms and bond - they start to glow when the FG is just brought up to them
Expected behavior 1) Connection to Functional Group: FG replace FG 2) Connection to atom: FG replace atom Note: Pay attention to the highlight of the atoms and bond - they start to glow when the FG is just brought up to them
Screenshots
https://user-images.githubusercontent.com/62464241/220975662-3f0c1d57-77c9-494a-9e22-65dd70509b73.mp4
Desktop (please complete the following information):
Ketcher version Version 2.8.0-rc.4