pskink / matrix_gesture_detector

A gesture detector mapping translation/rotation/scale gestures to a Matrix4 object.
Other
134 stars 101 forks source link

The matrix does not maintain its position on the screen after setState. #23

Open sostenesgomes opened 3 years ago

sostenesgomes commented 3 years ago

I am using the sample code TransformDemo2, with an example floating button, that executes a setState. I move and scale the object with my fingers to a certain position on the screen. But when I run setState, the position of the matrix is not maintained. Are there any suspicions of what may be happening?