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

Selection Tool: use rounded rectangles for selection of bonds and atom labels #2088

Closed
vanoprenko opened this issue Jan 12, 2023 · 1 comment · Fixed by #2602
Closed

Selection Tool: use rounded rectangles for selection of bonds and atom labels #2088

vanoprenko opened this issue Jan 12, 2023 · 1 comment · Fixed by #2602

Comments

@vanoprenko
Copy link
Collaborator

vanoprenko commented Jan 12, 2023

Currently selection of any atom or bond is drawn as a circle:
image

Adjust the selection rendering approach so that selected bonds and atom labels with more than 1 symbol (e.g. "OH", "CH3") are highlighted with rounded rectangles. Selection of various types of bonds should also be adjusted as highlighted below.

Bonds selections

The selection color should be adjusted:

Previous and new colors

Also hovering selected elements should be adjusted in scope of this task:

new-hover

#184121704

@KonstantinEpam23
Copy link
Collaborator

Carbon atoms that do not show their label should be selected with a circle (not like it is shown on the last screenshot)

KonstantinEpam23 added a commit that referenced this issue May 17, 2023
KonstantinEpam23 added a commit that referenced this issue May 18, 2023
KonstantinEpam23 added a commit that referenced this issue May 18, 2023
KonstantinEpam23 added a commit that referenced this issue May 19, 2023
KonstantinEpam23 added a commit that referenced this issue May 19, 2023
KonstantinEpam23 added a commit that referenced this issue May 19, 2023
KonstantinEpam23 added a commit that referenced this issue May 19, 2023
KonstantinEpam23 added a commit that referenced this issue May 19, 2023
KonstantinEpam23 added a commit that referenced this issue May 19, 2023
KonstantinEpam23 added a commit that referenced this issue May 22, 2023
…nd atom labels (#2602)

* #2088 Selection Tool: use rounded rectangles for selection of bonds and atom labels

* #2088 Selection Tool: fix bug

* #2088 Selection Tool: fix review comments

* #2088 Selection Tool: remove unused function

* #2088 Selection Tool: update comments

* #2088 Selection Tool: update pseudo atoms selection

* #2088 Selection Tool: fix for single-letter atoms

* #2088 Selection Tool: put docs images into repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants