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

add shared hover state in session model #2458

Closed
rbuels opened this issue Oct 27, 2021 · 1 comment
Closed

add shared hover state in session model #2458

rbuels opened this issue Oct 27, 2021 · 1 comment
Labels
enhancement New feature or request needs review needs verification and/or more specifics protein_msa

Comments

@rbuels
Copy link
Contributor

rbuels commented Oct 27, 2021

Currently we have session.selection, which is the currently "selected" object, which can be anything.

Let's add a session.hover, which is the currently hovered-over object, which can also be anything.

One example use case would be when hovering over a spot in the LGV, the LGV would set hover to a location object that specifies that the user is hovering over a specific spot in a specific ref seq in a specific assembly.

Also add a couple of integrations for this to drive development:

  • LGV both sets and pays attention to session.hover. Draws cursors in the track panel and the overview in response to session.hover, and sets session.hover when the user mouses over each of them.
  • Ideogram plugin does the same: sets and reacts to session.hover
@rbuels rbuels added the enhancement New feature or request label Oct 27, 2021
@rbuels rbuels changed the title shared hover state in session model add shared hover state in session model Oct 27, 2021
@rbuels rbuels added the needs review needs verification and/or more specifics label Oct 27, 2021
@cmdcolin
Copy link
Collaborator

cmdcolin commented Nov 3, 2023

was added in #4013

@cmdcolin cmdcolin closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs review needs verification and/or more specifics protein_msa
Projects
None yet
Development

No branches or pull requests

2 participants