Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed occasional flickering

  • Loading branch information...
commit a0114d6ee3b395980ea6a67aeb877a8f4b7991de 1 parent 3a315e8
Dillion authored
BIN  transform.xcodeproj/project.xcworkspace/xcuserdata/dilliontan.xcuserdatad/UserInterfaceState.xcuserstate
View
Binary file not shown
4 transform/framework/AnimationDelegate.m
View
@@ -285,14 +285,14 @@ - (void)resetTransformValues
CATransform3D aTransform = CATransform3DIdentity;
targetLayer.sublayerTransform = aTransform;
- [CATransaction commit];
-
if (value == 10.0f) {
[transformView rearrangeLayers:currentDirection :3];
} else {
[transformView rearrangeLayers:currentDirection :2];
}
+ [CATransaction commit];
+
if (controller && [controller respondsToSelector:@selector(animationDidFinish:)]) {
if (currentDirection == kDirectionForward && value == 10.0f) {
[controller animationDidFinish:1];
Please sign in to comment.
Something went wrong with that request. Please try again.