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 bottom horizontal bonds does not shift if there is an overlap #4995

Open
AlexeyGirin opened this issue Jul 4, 2024 · 1 comment · Fixed by #5028 or #5037
Open

The bottom horizontal bonds does not shift if there is an overlap #4995

AlexeyGirin opened this issue Jul 4, 2024 · 1 comment · Fixed by #5028 or #5037
Assignees
Labels
Priority: Low Snake mode Bucket: Snake mode related issues

Comments

@AlexeyGirin
Copy link
Collaborator

Steps to Reproduce

  1. Go to Macromolecules mode - Snake mode
  2. Load from file: The lower horizontal part of bond does not shift if there is an overlap.zip

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

Expected behavior
Bottom horizontal bonds should not overlap each other

Versions

  • Ketcher Version 2.23.0-rc.1 Build at 2024-07-02; 08:57:41
  • Indigo Toolkit Version 1.22.0-rc.1.0-g2bef0ce6c-wasm32-wasm-clang-19.0.0
  • Windows 10 Pro
  • Chrome Version 126.0.6478.127 (Official Build) (64-bit)

Issue found while testing - #3532

@AlexeyGirin AlexeyGirin added bug Priority: Low Snake mode Bucket: Snake mode related issues labels Jul 4, 2024
@AlexeyGirin AlexeyGirin added this to the Ketcher 2.23.0-rc.2 milestone Jul 4, 2024
rrodionov91 added a commit that referenced this issue Jul 7, 2024
…ion line

- changed order of rendering bonds(side over backbone)

#4995 - The bottom horizontal bonds does not shift if there is an overlap

- applied offsets for bottom part of horizontal bonds
@rrodionov91 rrodionov91 self-assigned this Jul 7, 2024
rrodionov91 added a commit that referenced this issue Jul 8, 2024
…ion line (#5028)

#4997 - The second of three horizontal bond overlaps backbone connection line

- changed order of rendering bonds(side over backbone)

#4995 - The bottom horizontal bonds does not shift if there is an overlap

- applied offsets for bottom part of horizontal bonds
- updated tests/screenshots
- fixed bond color in flex mode
rrodionov91 added a commit that referenced this issue Jul 8, 2024
…ion line

- changed order of rendering bonds(side over backbone)

#4995 - The bottom horizontal bonds does not shift if there is an overlap

- applied offsets for bottom part of horizontal bonds
rrodionov91 added a commit that referenced this issue Jul 8, 2024
…one connection line (#5037)

* #4997 - The second of three horizontal bond overlaps backbone connection line

- changed order of rendering bonds(side over backbone)

#4995 - The bottom horizontal bonds does not shift if there is an overlap

- applied offsets for bottom part of horizontal bonds
- updated screenshots
@AnnaKosol
Copy link
Contributor

The horizontal bottom overlaps the other one
Image
or in another case there is an overlap
Image
Versions:
Ketcher Version 2.23.0-rc.2 Build at 2024-07-10; 19:39:22
Indigo Version 1.22.0-rc.2.0-ga21fb5d8f-wasm32-wasm-clang-19.0.0
Chrome Версия 126.0.6478.127 (Официальная сборка), (arm64)
MacOs Sonoma 14.5

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