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

[TIMOB-11181] Fix gradientLayer animations #3655

Merged
merged 2 commits into from Jan 14, 2013
Merged

[TIMOB-11181] Fix gradientLayer animations #3655

merged 2 commits into from Jan 14, 2013

Conversation

vishalduggal
Copy link
Contributor

Test is in TIMOB-11181

Use test case in comments
Animates gradientLayer using CABasicAnimation when doing reposition

Regress against
TIMOB-11951
TC-1264

@ghost ghost assigned mstepanov Jan 8, 2013
@mstepanov
Copy link
Contributor

Code reviewed. APPROVED

boundsAnimation.timingFunction = [self timingFunction];

positionAnimation = [CABasicAnimation animationWithKeyPath:@"position"];
positionAnimation.fromValue = [NSValue valueWithCGPoint:CGPointMake([uiview bounds].size.width / 2, [uiview bounds].size.height / 2)];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ever used CGRectGetMidX/CGRectGetMidY ?

@mstepanov
Copy link
Contributor

FT PASSED

mstepanov pushed a commit that referenced this pull request Jan 14, 2013
[TIMOB-11181] Fix gradientLayer animations
@mstepanov mstepanov merged commit 601a6de into tidev:master Jan 14, 2013
@vishalduggal vishalduggal deleted the timob-11181 branch October 27, 2014 19:08
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

Successfully merging this pull request may close these issues.

None yet

2 participants