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

feat: compose MouseInteraction with other interacts #45

Merged
merged 1 commit into from
Mar 2, 2021

Conversation

maartenbreddels
Copy link
Collaborator

For instance to make MouseInteractions work with PanZoom, for this specific case to work
we should not listen to the drag events, and for this we also need
to filter on those.

Closes #42
Closes #43

cc @pllim

@codecov
Copy link

codecov bot commented Mar 2, 2021

Codecov Report

Merging #45 (0c14f69) into master (6af6d5b) will decrease coverage by 3.05%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
- Coverage   61.05%   58.00%   -3.06%     
==========================================
  Files           5        5              
  Lines          95      100       +5     
==========================================
  Hits           58       58              
- Misses         37       42       +5     
Impacted Files Coverage Δ
bqplot_image_gl/interacts.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6af6d5b...0c14f69. Read the comment docs.

For instance with PanZoom, for this specific case to work
we should not listen the the drag events, for this we also need
to filter on those.
Copy link
Member

@astrofrog astrofrog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great, thanks!!

@pllim
Copy link
Contributor

pllim commented Mar 2, 2021

Thanks!

@maartenbreddels maartenbreddels deleted the compose_interacts branch March 3, 2021 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to stack MouseInteraction with other interactions? Allow filtering of events in MouseInteraction
3 participants