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

Do not capture released event inside image::Viewer when mouse is not dragged #2744

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhysd
Copy link

@rhysd rhysd commented Jan 23, 2025

This PR changes the event handler of image::Viewer not to capture a pressed event when a mouse was not dragged by checking the cursor position.

Fix #2743

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.

MouseArea::on_release doesn't work when image::Viewer is the child
1 participant