Skip to content

Commit ea4b985

Browse files
authored
Fix a bug when determining whether an existing animation has completed (#1332)
1 parent 184f33f commit ea4b985

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/KIF/Additions/CALayer-KIFAdditions.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ - (BOOL)hasAnimations
6060
if (!animationDidStopSent) {
6161
result = YES;
6262
}
63-
} else if (currentTime > completionTime) {
63+
} else if (currentTime < completionTime) {
6464
// Otherwise, use the completion time to determine if the animation has been completed.
6565
// This doesn't seem to always be exactly right however.
6666
result = YES;

0 commit comments

Comments
 (0)