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

fix: Check cursor in bounds when scrolling image::Viewer #1998

Merged
merged 3 commits into from
Aug 3, 2023

Conversation

malramsay64
Copy link
Contributor

Ensure that the cursor is within the bounds of the image::Viewer when
performing the scrolling.

Fixes #1997

Ensure that the cursor is within the bounds of the image::Viewer when
performing the scrolling.

Fixes iced-rs#1997
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Nice catch! Thanks 🙇

@hecrj hecrj added this to the 0.10.0 milestone Aug 3, 2023
@hecrj hecrj enabled auto-merge August 3, 2023 18:22
@hecrj hecrj merged commit cb8b70b into iced-rs:master Aug 3, 2023
9 of 10 checks passed
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.

Image Viewer scrolls with cursor anywhere in the window
2 participants