Skip to content

Commit

Permalink
Fixed bug where value could be improperly assigned.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Fuerstenberg committed Jun 23, 2015
1 parent c83a6b6 commit a2e9b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JFPropertyAnimator.m
Expand Up @@ -461,7 +461,7 @@ - (void) innerStopAnimatingObject: (id <JFPropertyAnimatable>) object property:

// Notify the animation completion handler, if any, of the stop...
JFPropertyAnimatorAnimateCompletionHandler completionHandler = [animation completionHandler];
if (completionHandler != 0) {
if (completionHandler != 0 && !isnan(value)) {
id <JFPropertyAnimatable> target = [animation target];
NSUInteger propertyId = [animation propertyId];
NSUInteger playIndex = [animation playIndex];
Expand Down

0 comments on commit a2e9b1f

Please sign in to comment.