We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c63ea61 commit 17af6d5Copy full SHA for 17af6d5
SDWebImageSwiftUI/Classes/ObjC/SDAnimatedImageInterface.m
@@ -236,7 +236,7 @@ - (void)updateShouldAnimate
236
{
237
id<UIViewProtocol> view = [self _interfaceView];
238
BOOL isVisible = view.window && view.superview && ![view isHidden] && view.alpha > 0.0;
239
- self.currentStatus.shouldAnimate = self.animatedImage && self.totalFrameCount > 1 && self.isAnimatedFormat && isVisible;
+ self.currentStatus.shouldAnimate = self.isAnimating && self.animatedImage && self.isAnimatedFormat && self.totalFrameCount > 1 && isVisible;
240
}
241
242
- (void)startAnimating {
0 commit comments