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

Add basic touch zoom support #126

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

Frenzie
Copy link
Contributor

@Frenzie Frenzie commented Aug 22, 2024

There's sometimes (but not always) a hiccup switching from smaller to larger zoom levels and back, but that also happens with the scrollwheel. The effect might be a touch worse because you're queuing up a larger number events if that happens without visual feedback; ideally input should probably be dropped at that point if possible. A relatively simple workaround might be to set a minimum zoom level of for example 0.5 and a maximum of 100 to prevent the potential results of overshooting, but I'm not sure if those would be absolutely terrible values with different files.

@jrfonseca jrfonseca merged commit aaa2464 into jrfonseca:master Aug 22, 2024
3 checks passed
@jrfonseca
Copy link
Owner

Sounds good. Thanks.

@Frenzie Frenzie deleted the basic-touch-zoom branch August 22, 2024 19:31
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.

2 participants