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

Only double-click zoom if not clicking on feature #3670

Merged
merged 2 commits into from
May 1, 2023

Conversation

cmdcolin
Copy link
Collaborator

I noticed along with @carolinebridge-oicr that double clicking a feature toggles a zoom in. This only zooms in if the featureIdUnderMouse is undefined. Only particular display types may use the 'featureIdUnderMouse' concept, but this does help double click on feature not performing a zoom in

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Apr 28, 2023
@cmdcolin cmdcolin added bug Something isn't working and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Apr 28, 2023
@cmdcolin cmdcolin requested a review from carolinebridge April 28, 2023 21:35
@cmdcolin
Copy link
Collaborator Author

the double click to zoom was added #3544

@cmdcolin
Copy link
Collaborator Author

sort of similar problem to #3638 where we 'want to only zoom if the clicks weren't triggering something else'

@carolinebridge
Copy link
Contributor

Is there any way to get this to trigger zoom in when the mouse is over the "bar" of an offset label? e.g.
image

if i click in red circle currently nothing happens, a user might expect it to zoom in

.. this might be non trivial cus there is technically something there

@codecov
Copy link

codecov bot commented Apr 28, 2023

Codecov Report

Merging #3670 (af9cef0) into main (1ddf605) will not change coverage.
The diff coverage is 60.00%.

@@           Coverage Diff           @@
##             main    #3670   +/-   ##
=======================================
  Coverage   62.64%   62.64%           
=======================================
  Files         892      892           
  Lines       30238    30238           
  Branches     7324     7324           
=======================================
  Hits        18944    18944           
  Misses      11111    11111           
  Partials      183      183           
Impacted Files Coverage Δ
...rc/LinearGenomeView/components/TracksContainer.tsx 78.26% <ø> (+4.18%) ⬆️
...src/LinearGenomeView/components/TrackContainer.tsx 84.09% <60.00%> (-3.41%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cmdcolin
Copy link
Collaborator Author

@carolinebridge-oicr pushed a change to allow that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants