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

Could you make is so when you stop panning the image, it will slow down instead of abruptly stopping #8

Closed
Blakexx opened this issue Aug 1, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@Blakexx
Copy link

Blakexx commented Aug 1, 2018

I don't know if this is where feature requests go, but I will put it here. I just think this would make it work a little better.

@renancaraujo renancaraujo added the enhancement New feature or request label Aug 9, 2018
@renancaraujo
Copy link
Member

That can be achieved with the velocity property of ScaleEndDetails.

@Blakexx
Copy link
Author

Blakexx commented Aug 9, 2018

Ok thanks, do you need to add a velocity parameter for PhotoView or is there a way I could pass that without an update from your end?

@renancaraujo
Copy link
Member

This is passed through the only parameter in the onScaleEnd callback.

@renancaraujo
Copy link
Member

Added continuity effect on drag events on #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants