Draw last image after animation loop terminates. (We
were drawing the image at index+1, which doesn't exist!)
Reviewed by Darin.
* WebCoreSupport.subproj/WebImageData.m:
(-[WebImageData _nextFrame:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8365
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-01-13 Richard Williamson <rjw@apple.com>
+
+ Fixed <rdar://problem/3951911> REGRESSION: Animated GIF images with loop counts no longer update
+
+ Draw last image after animation loop terminates. (We
+ were drawing the image at index+1, which doesn't exist!)
+
+ Reviewed by Darin.
+
+ * WebCoreSupport.subproj/WebImageData.m:
+ (-[WebImageData _nextFrame:]):
+
2005-01-13 Richard Williamson <rjw@apple.com>
Fixed <rdar://problem/3952084> REGRESSION: Links at projectseven.com now draw and update incorrectly during hover
repetitionsComplete += 1;
if ([self _repetitionCount] && repetitionsComplete >= [self _repetitionCount]) {
animationFinished = YES;
+ currentFrame--;
return;
}
currentFrame = 0;