Skip to content

Commit

Permalink
Added ability to set the animation duration for fading in the image
Browse files Browse the repository at this point in the history
  • Loading branch information
holgersindbaek committed Mar 30, 2016
1 parent b74f391 commit a90bbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pod/Source/UI/DFImageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ - (instancetype)initWithCoder:(NSCoder *)decoder {
- (void)_commonInit {
self.imageManager = [DFImageManager sharedManager];
_allowsAnimations = YES;
_animationDuration = 0.25f;
self.animationDuration = 0.25f;
}

- (void)prepareForReuse {
Expand Down

0 comments on commit a90bbd4

Please sign in to comment.