Skip to content

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

Merged
hecrj merged 3 commits into
iced-rs:masterfrom
malramsay64:image_viewer_scroll
Aug 3, 2023
Merged

fix: Check cursor in bounds when scrolling image::Viewer#1998
hecrj merged 3 commits into
iced-rs:masterfrom
malramsay64:image_viewer_scroll

Conversation

@malramsay64

Copy link
Copy Markdown
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

@hecrj hecrj left a comment

Copy link
Copy Markdown
Member

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
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