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

No center property of rotation gesture. #641

Open
Ollstar opened this issue Mar 8, 2016 · 1 comment
Open

No center property of rotation gesture. #641

Ollstar opened this issue Mar 8, 2016 · 1 comment
Labels
Milestone

Comments

@Ollstar
Copy link
Contributor

Ollstar commented Mar 8, 2016

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

canvas.addRotationGestureRecognizer { (rotation, velocity, state) -> () in
}
I want to change the rotation 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

Good find. You could apply the same pattern from the other gesture recognizers to this one.

@alejandro-isaza alejandro-isaza added this to the 1.2.0 milestone May 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants