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

Zoom problem #1

Open
ghost opened this issue Sep 19, 2022 · 3 comments
Open

Zoom problem #1

ghost opened this issue Sep 19, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 19, 2022

@talreja-priya, thank you very much!
Good solution, But only the first approximation with a pinch works correctly for me. A second pinch zoom zooms out. Any ideas how to fix this?
zoom

@roman-sundurov
Copy link

Hi. I have the same problem.

@Lucifier-777
Copy link

It works after replacing the condition in pinch function

case .changed, .ended:
if gesture.scale <= minScale {
scale = minScale
} else if gesture.scale >= maxScale {
scale = maxScale
} else if gesture.scale >= scale {
scale = gesture.scale
} else if scale != maxScale {
scale = gesture.scale
}
scaleChange(scale)

@Xenolion
Copy link

Xenolion commented Jul 21, 2023

Is there anyone with the solution to these Zoom Problem? @talreja-priya

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

No branches or pull requests

3 participants