Skip to content

No center property of pinch gesture. #639

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

Closed
Ollstar opened this issue Mar 4, 2016 · 1 comment
Closed

No center property of pinch gesture. #639

Ollstar opened this issue Mar 4, 2016 · 1 comment

Comments

@Ollstar
Copy link
Contributor

Ollstar commented Mar 4, 2016

I have a pinch gesture added to my canvas like so:

canvas.addPinchGestureRecognizer { (scale, velocity, state) -> () in
}

I want to change the size of a view located at the center of the gesture.

Is there something like a locations property on this gesture like some of the other C4 gestures have??
If so how can I access it?

@traviskirton
Copy link
Collaborator

Fixed on the 1.1.x branch.

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