epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
442 stars 159 forks source link

When you move the top monomer to the left of the bottom one, the bond moves slightly to the right. This may cause an overlap of bonds. #4998

Open AlexeyGirin opened 4 days ago

AlexeyGirin commented 4 days ago

Steps to Reproduce

  1. Go to Macromolecules mode - Snake mode
  2. Load from file: When you move the top monomer to the left of the bottom one, the bond moves slightly to the right. This may cause an overlap of bonds.zip
  3. Move monomer no.75 over monomer no.74 image

Actual behavior The bottom horizontal bonds does not shift if there is an overlap image

Expected behavior No overlapping happens

Versions

Issue found while testing - https://github.com/epam/ketcher/issues/3532