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

S-groups are not interactive when cursor is outside of the hover area #2051

Closed
KonstantinEpam23 opened this issue Jan 4, 2023 · 0 comments · Fixed by #2075
Closed

S-groups are not interactive when cursor is outside of the hover area #2051

KonstantinEpam23 opened this issue Jan 4, 2023 · 0 comments · Fixed by #2075
Assignees
Labels

Comments

@KonstantinEpam23
Copy link
Collaborator

Steps to Reproduce

  1. Open the template dialog
  2. Select "Salts and Solvents" tab
  3. Select an item with a long text e.g. "methane sulphonic acid"
  4. Add it to the canvas and hover over it with the cursor

Actual behavior
The selection does not appear unless you hover near the center of the text

Expected behavior
The selection should appear if you hover over the text

Ketcher version [e.g. v2.4.2].
v2.7.0-rc.8

@KonstantinEpam23 KonstantinEpam23 added this to the Release 2.8.0 milestone Jan 4, 2023
KonstantinEpam23 added a commit that referenced this issue Jan 10, 2023
KonstantinEpam23 added a commit that referenced this issue Jan 10, 2023
…er area (#2075)

* #2051: S-groups are not interactive when cursor is outside of the hover area

* #2051: small refactor

* #2051: use Vec2.dist function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants