-
Notifications
You must be signed in to change notification settings - Fork 42
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
Get the current scale/zoom level? #49
Comments
I also need this feature, @likashefqet any chance you can merge and release this? |
I could use this as well |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days. |
I too really want this feature. Any way we can achieve this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a good way to be able to read the current scale whenever I need to? I don't see it on the ref, and I do see that there's a
scale = useSharedValue()
in the instance but can't find a way to get at it. I have a few places where I would like to be able to read out the current scale (and probably thex
andy
offsets), so I can save them for later.I have a PR in for adding the scale to the
onPinchEnd
callback as a potential fix for one of my specific issues, but putting this note in in case there's a good way to accomplish this now that I'm missing.The text was updated successfully, but these errors were encountered: