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

Question: can I get access to current scale without use events? #64

Closed
dguerreros93 opened this issue Dec 29, 2023 · 1 comment
Closed

Comments

@dguerreros93
Copy link

I'm using a renderItem and I added description, but I wanna hide the text when scale is different to 1.

I'm using onScaleStart and onScaleEnd and its working, but when I trigger a doubleTap, I don´t have any way to validate inside this event that the scale is 1 or not.

@pavelbabenko
Copy link
Owner

@dguerreros93 Added params to onDoubleTap(toScale: number) and onScaleStart(scale: number) in v0.4.1. Hope that helps!

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

2 participants