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

Flip incorrectly when tap the right half page #11

Open
daizw opened this issue Aug 9, 2011 · 1 comment
Open

Flip incorrectly when tap the right half page #11

daizw opened this issue Aug 9, 2011 · 1 comment

Comments

@daizw
Copy link

daizw commented Aug 9, 2011

The right half page will flip DOWN a little when tap the right half page.
Because the CATransform3D is not correct?
To reproduce this bug, just tap the right half page, and look at the up-right corner carefully.
(It would be more easy to see if the up-right corner is not just totally white.)

@daizw
Copy link
Author

daizw commented Aug 9, 2011

It seems the solution is pretty simple, just add a '-':

change:
transform.m34 = 1.0f / 2500.0f; (in the else clause)
to:
transform.m34 = -1.0f / 2500.0f;

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

1 participant