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 division by zero in multitouch example #2517

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

JustSoup312
Copy link

This PR fixes a runtime error while running examples/multitouch due to an instance of remainder division dividing by zero.

@hecrj hecrj added this to the 0.13 milestone Sep 12, 2024
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.

Good catch! Thanks.

@hecrj hecrj enabled auto-merge September 12, 2024 23:29
@hecrj hecrj changed the title Fix examples/multitouch dividing by zero Fix division by zero in multitouch example Sep 12, 2024
@hecrj hecrj merged commit b7ba613 into iced-rs:master Sep 12, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants